1
|
{
|
2
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
3
|
"version": 1,
|
4
|
"newProjectRoot": "projects",
|
5
|
"projects": {
|
6
|
"SensLog": {
|
7
|
"projectType": "application",
|
8
|
"schematics": {
|
9
|
"@schematics/angular:component": {
|
10
|
"style": "scss"
|
11
|
}
|
12
|
},
|
13
|
"root": "",
|
14
|
"sourceRoot": "src",
|
15
|
"prefix": "app",
|
16
|
"architect": {
|
17
|
"build": {
|
18
|
"builder": "@angular-devkit/build-angular:browser",
|
19
|
"options": {
|
20
|
"outputPath": "dist/SensLog",
|
21
|
"index": "src/index.html",
|
22
|
"main": "src/main.ts",
|
23
|
"polyfills": "src/polyfills.ts",
|
24
|
"tsConfig": "tsconfig.app.json",
|
25
|
"aot": true,
|
26
|
"assets": [
|
27
|
"src/favicon.ico",
|
28
|
"src/assets"
|
29
|
],
|
30
|
"styles": [
|
31
|
"node_modules/bootstrap/dist/css/bootstrap.css",
|
32
|
"src/styles.scss"
|
33
|
],
|
34
|
"scripts": [
|
35
|
"node_modules/jquery/dist/jquery.js",
|
36
|
"node_modules/bootstrap/dist/js/bootstrap.js"
|
37
|
]
|
38
|
},
|
39
|
"configurations": {
|
40
|
"production": {
|
41
|
"fileReplacements": [
|
42
|
{
|
43
|
"replace": "src/environments/environment.ts",
|
44
|
"with": "src/environments/environment.prod.ts"
|
45
|
}
|
46
|
],
|
47
|
"optimization": true,
|
48
|
"outputHashing": "all",
|
49
|
"sourceMap": false,
|
50
|
"namedChunks": false,
|
51
|
"extractLicenses": true,
|
52
|
"vendorChunk": false,
|
53
|
"buildOptimizer": true,
|
54
|
"budgets": [
|
55
|
{
|
56
|
"type": "initial",
|
57
|
"maximumWarning": "2mb",
|
58
|
"maximumError": "5mb"
|
59
|
},
|
60
|
{
|
61
|
"type": "anyComponentStyle",
|
62
|
"maximumWarning": "6kb",
|
63
|
"maximumError": "10kb"
|
64
|
}
|
65
|
]
|
66
|
}
|
67
|
}
|
68
|
},
|
69
|
"serve": {
|
70
|
"builder": "@angular-devkit/build-angular:dev-server",
|
71
|
"options": {
|
72
|
"browserTarget": "SensLog:build",
|
73
|
"proxyConfig": "proxy-config.json"
|
74
|
},
|
75
|
"configurations": {
|
76
|
"production": {
|
77
|
"browserTarget": "SensLog:build:production"
|
78
|
}
|
79
|
}
|
80
|
},
|
81
|
"extract-i18n": {
|
82
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
83
|
"options": {
|
84
|
"browserTarget": "SensLog:build"
|
85
|
}
|
86
|
},
|
87
|
"test": {
|
88
|
"builder": "@angular-devkit/build-angular:karma",
|
89
|
"options": {
|
90
|
"main": "src/test.ts",
|
91
|
"polyfills": "src/polyfills.ts",
|
92
|
"tsConfig": "tsconfig.spec.json",
|
93
|
"karmaConfig": "karma.conf.js",
|
94
|
"assets": [
|
95
|
"src/favicon.ico",
|
96
|
"src/assets"
|
97
|
],
|
98
|
"styles": [
|
99
|
"src/styles.scss"
|
100
|
],
|
101
|
"scripts": []
|
102
|
}
|
103
|
},
|
104
|
"lint": {
|
105
|
"builder": "@angular-devkit/build-angular:tslint",
|
106
|
"options": {
|
107
|
"tsConfig": [
|
108
|
"tsconfig.app.json",
|
109
|
"tsconfig.spec.json",
|
110
|
"e2e/tsconfig.json"
|
111
|
],
|
112
|
"exclude": [
|
113
|
"**/node_modules/**"
|
114
|
]
|
115
|
}
|
116
|
},
|
117
|
"e2e": {
|
118
|
"builder": "@angular-devkit/build-angular:protractor",
|
119
|
"options": {
|
120
|
"protractorConfig": "e2e/protractor.conf.js",
|
121
|
"devServerTarget": "SensLog:serve"
|
122
|
},
|
123
|
"configurations": {
|
124
|
"production": {
|
125
|
"devServerTarget": "SensLog:serve:production"
|
126
|
}
|
127
|
}
|
128
|
}
|
129
|
}
|
130
|
}
|
131
|
},
|
132
|
"defaultProject": "SensLog"
|
133
|
}
|