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
|
"allowedCommonJsDependencies": [
|
21
|
"moment-timezone"
|
22
|
],
|
23
|
"outputPath": "dist/SensLog",
|
24
|
"index": "src/index.html",
|
25
|
"main": "src/main.ts",
|
26
|
"polyfills": "src/polyfills.ts",
|
27
|
"tsConfig": "tsconfig.app.json",
|
28
|
"aot": true,
|
29
|
"assets": [
|
30
|
"src/favicon.ico",
|
31
|
"src/assets"
|
32
|
],
|
33
|
"styles": [
|
34
|
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css",
|
35
|
"node_modules/primeng/resources/primeng.min.css",
|
36
|
"node_modules/primeicons/primeicons.css",
|
37
|
"src/assets/scss/styles.scss"
|
38
|
],
|
39
|
"scripts": [
|
40
|
"node_modules/jquery/dist/jquery.js",
|
41
|
"node_modules/bootstrap/dist/js/bootstrap.js"
|
42
|
]
|
43
|
},
|
44
|
"configurations": {
|
45
|
"production": {
|
46
|
"fileReplacements": [
|
47
|
{
|
48
|
"replace": "src/environments/environment.ts",
|
49
|
"with": "src/environments/environment.prod.ts"
|
50
|
}
|
51
|
],
|
52
|
"optimization": true,
|
53
|
"outputHashing": "all",
|
54
|
"sourceMap": false,
|
55
|
"namedChunks": false,
|
56
|
"extractLicenses": true,
|
57
|
"vendorChunk": false,
|
58
|
"buildOptimizer": true,
|
59
|
"budgets": [
|
60
|
{
|
61
|
"type": "initial",
|
62
|
"maximumWarning": "2mb",
|
63
|
"maximumError": "5mb"
|
64
|
},
|
65
|
{
|
66
|
"type": "anyComponentStyle",
|
67
|
"maximumWarning": "6kb",
|
68
|
"maximumError": "10kb"
|
69
|
}
|
70
|
]
|
71
|
}
|
72
|
}
|
73
|
},
|
74
|
"serve": {
|
75
|
"builder": "@angular-devkit/build-angular:dev-server",
|
76
|
"options": {
|
77
|
"browserTarget": "SensLog:build",
|
78
|
"proxyConfig": "proxy-config.json"
|
79
|
},
|
80
|
"configurations": {
|
81
|
"production": {
|
82
|
"browserTarget": "SensLog:build:production"
|
83
|
}
|
84
|
}
|
85
|
},
|
86
|
"extract-i18n": {
|
87
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
88
|
"options": {
|
89
|
"browserTarget": "SensLog:build"
|
90
|
}
|
91
|
},
|
92
|
"test": {
|
93
|
"builder": "@angular-devkit/build-angular:karma",
|
94
|
"options": {
|
95
|
"main": "src/test.ts",
|
96
|
"polyfills": "src/polyfills.ts",
|
97
|
"tsConfig": "tsconfig.spec.json",
|
98
|
"karmaConfig": "karma.conf.js",
|
99
|
"assets": [
|
100
|
"src/favicon.ico",
|
101
|
"src/assets"
|
102
|
],
|
103
|
"styles": [
|
104
|
"src/styles.scss"
|
105
|
],
|
106
|
"scripts": []
|
107
|
}
|
108
|
},
|
109
|
"lint": {
|
110
|
"builder": "@angular-devkit/build-angular:tslint",
|
111
|
"options": {
|
112
|
"tsConfig": [
|
113
|
"tsconfig.app.json",
|
114
|
"tsconfig.spec.json",
|
115
|
"e2e/tsconfig.json"
|
116
|
],
|
117
|
"exclude": [
|
118
|
"**/node_modules/**"
|
119
|
]
|
120
|
}
|
121
|
},
|
122
|
"e2e": {
|
123
|
"builder": "@angular-devkit/build-angular:protractor",
|
124
|
"options": {
|
125
|
"protractorConfig": "e2e/protractor.conf.js",
|
126
|
"devServerTarget": "SensLog:serve"
|
127
|
},
|
128
|
"configurations": {
|
129
|
"production": {
|
130
|
"devServerTarget": "SensLog:serve:production"
|
131
|
}
|
132
|
}
|
133
|
}
|
134
|
}
|
135
|
}
|
136
|
},
|
137
|
"defaultProject": "SensLog"
|
138
|
}
|