1
|
{
|
2
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"usage-counts": {
|
7
|
"root": "",
|
8
|
"sourceRoot": "src",
|
9
|
"projectType": "application",
|
10
|
"prefix": "app",
|
11
|
"schematics": {
|
12
|
"@schematics/angular:class": {
|
13
|
"skipTests": true
|
14
|
},
|
15
|
"@schematics/angular:component": {
|
16
|
"skipTests": true
|
17
|
},
|
18
|
"@schematics/angular:directive": {
|
19
|
"skipTests": true
|
20
|
},
|
21
|
"@schematics/angular:guard": {
|
22
|
"skipTests": true
|
23
|
},
|
24
|
"@schematics/angular:module": {
|
25
|
"skipTests": true
|
26
|
},
|
27
|
"@schematics/angular:pipe": {
|
28
|
"skipTests": true
|
29
|
},
|
30
|
"@schematics/angular:service": {
|
31
|
"skipTests": true
|
32
|
}
|
33
|
},
|
34
|
"architect": {
|
35
|
"build": {
|
36
|
"builder": "@angular-devkit/build-angular:browser",
|
37
|
"options": {
|
38
|
"outputPath": "dist/usage-counts",
|
39
|
"index": "src/index.html",
|
40
|
"main": "src/main.ts",
|
41
|
"polyfills": "src/polyfills.ts",
|
42
|
"tsConfig": "src/tsconfig.app.json",
|
43
|
"assets": [
|
44
|
"src/assets",
|
45
|
"src/robots.txt",
|
46
|
"src/sitemap.xml"
|
47
|
],
|
48
|
"styles": [
|
49
|
"src/styles.css",
|
50
|
"src/material.scss"
|
51
|
],
|
52
|
"scripts": [
|
53
|
"src/assets/common-assets/common/jquery.js",
|
54
|
"src/assets/common-assets/common/uikit.min.js",
|
55
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
56
|
"node_modules/jquery/dist/jquery.js"
|
57
|
],
|
58
|
"es5BrowserSupport": true
|
59
|
},
|
60
|
"configurations": {
|
61
|
"production": {
|
62
|
"fileReplacements": [
|
63
|
{
|
64
|
"replace": "src/environments/environment.ts",
|
65
|
"with": "src/environments/environment.prod.ts"
|
66
|
}
|
67
|
],
|
68
|
"optimization": true,
|
69
|
"outputHashing": "all",
|
70
|
"sourceMap": false,
|
71
|
"extractCss": true,
|
72
|
"namedChunks": false,
|
73
|
"aot": true,
|
74
|
"extractLicenses": true,
|
75
|
"vendorChunk": false,
|
76
|
"buildOptimizer": true,
|
77
|
"budgets": [
|
78
|
{
|
79
|
"type": "initial",
|
80
|
"maximumWarning": "2mb",
|
81
|
"maximumError": "5mb"
|
82
|
}
|
83
|
]
|
84
|
}
|
85
|
}
|
86
|
},
|
87
|
"serve": {
|
88
|
"builder": "@angular-devkit/build-angular:dev-server",
|
89
|
"options": {
|
90
|
"browserTarget": "usage-counts:build"
|
91
|
},
|
92
|
"configurations": {
|
93
|
"production": {
|
94
|
"browserTarget": "usage-counts:build:production"
|
95
|
}
|
96
|
}
|
97
|
},
|
98
|
"extract-i18n": {
|
99
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
100
|
"options": {
|
101
|
"browserTarget": "usage-counts:build"
|
102
|
}
|
103
|
},
|
104
|
"test": {
|
105
|
"builder": "@angular-devkit/build-angular:karma",
|
106
|
"options": {
|
107
|
"main": "src/test.ts",
|
108
|
"polyfills": "src/polyfills.ts",
|
109
|
"tsConfig": "src/tsconfig.spec.json",
|
110
|
"karmaConfig": "src/karma.conf.js",
|
111
|
"styles": [
|
112
|
"src/styles.css"
|
113
|
],
|
114
|
"scripts": [],
|
115
|
"assets": [
|
116
|
"src/assets"
|
117
|
]
|
118
|
}
|
119
|
},
|
120
|
"lint": {
|
121
|
"builder": "@angular-devkit/build-angular:tslint",
|
122
|
"options": {
|
123
|
"tsConfig": [
|
124
|
"src/tsconfig.app.json",
|
125
|
"src/tsconfig.spec.json"
|
126
|
],
|
127
|
"exclude": [
|
128
|
"**/node_modules/**"
|
129
|
]
|
130
|
}
|
131
|
}
|
132
|
}
|
133
|
},
|
134
|
"usage-counts-e2e": {
|
135
|
"root": "e2e/",
|
136
|
"projectType": "application",
|
137
|
"prefix": "",
|
138
|
"architect": {
|
139
|
"e2e": {
|
140
|
"builder": "@angular-devkit/build-angular:protractor",
|
141
|
"options": {
|
142
|
"protractorConfig": "e2e/protractor.conf.js",
|
143
|
"devServerTarget": "usage-counts:serve"
|
144
|
},
|
145
|
"configurations": {
|
146
|
"production": {
|
147
|
"devServerTarget": "usage-counts:serve:production"
|
148
|
}
|
149
|
}
|
150
|
},
|
151
|
"lint": {
|
152
|
"builder": "@angular-devkit/build-angular:tslint",
|
153
|
"options": {
|
154
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
155
|
"exclude": [
|
156
|
"**/node_modules/**"
|
157
|
]
|
158
|
}
|
159
|
}
|
160
|
}
|
161
|
}
|
162
|
},
|
163
|
"defaultProject": "usage-counts"
|
164
|
}
|