-
Notifications
You must be signed in to change notification settings - Fork 405
/
project.json
109 lines (109 loc) · 3.13 KB
/
project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "integration",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "integration",
"projectType": "application",
"prefix": "app",
"implicitDependencies": ["*-plugin", "store"],
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist-integration/",
"index": "./integration/index.html",
"main": "./integration/main.ts",
"tsConfig": "./integration/tsconfig.app.json",
"polyfills": "./integration/polyfills.ts",
"assets": [
{
"glob": "favicon.ico",
"input": "./integration",
"output": "./"
}
],
"styles": ["./integration/styles.scss"],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "/integration/environments/environment.ts",
"with": "/integration/environments/environment.prod.ts"
}
]
}
},
"defaultConfiguration": "production",
"dependsOn": ["^build"]
},
"server": {
"executor": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist-integration-server",
"main": "./integration/server.ts",
"tsConfig": "./integration/tsconfig.server.json",
"sourceMap": true,
"optimization": false
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"fileReplacements": [
{
"replace": "/integration/environments/environment.ts",
"with": "/integration/environments/environment.prod.ts"
}
]
}
},
"defaultConfiguration": "production",
"dependsOn": ["^build"]
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"development": {
"browserTarget": "integration:build:development"
},
"production": {
"browserTarget": "integration:build:production"
}
},
"defaultConfiguration": "development",
"dependsOn": ["^build"]
},
"test": {
"executor": "@nx/jest:jest",
"options": {
"jestConfig": "integration/jest.config.js"
},
"dependsOn": ["^build"]
}
}
}