1
1
{
2
- "$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
3
- "version" : 1 ,
4
- "newProjectRoot" : " projects" ,
5
- "projects" : {
6
- "ng-shell" : {
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" : " ngx-build-plus:browser" ,
19
- "options" : {
20
- "outputPath" : " ../src/main/resources/static" ,
21
- "index" : " src/index.html" ,
22
- "main" : " src/main.ts" ,
23
- "polyfills" : " src/polyfills.ts" ,
24
- "tsConfig" : " tsconfig.app.json" ,
25
- "inlineStyleLanguage" : " scss" ,
26
- "assets" : [
27
- " src/favicon.ico" ,
28
- " src/assets"
29
- ],
30
- "styles" : [
31
- " src/styles.scss"
32
- ],
33
- "scripts" : [],
34
- "extraWebpackConfig" : " webpack.config.js" ,
35
- "commonChunk" : false
36
- },
37
- "configurations" : {
38
- "production" : {
39
- "budgets" : [
40
- {
41
- "type" : " initial" ,
42
- "maximumWarning" : " 500kb" ,
43
- "maximumError" : " 1mb"
44
- },
45
- {
46
- "type" : " anyComponentStyle" ,
47
- "maximumWarning" : " 2kb" ,
48
- "maximumError" : " 4kb"
49
- }
50
- ],
51
- "fileReplacements" : [
52
- {
53
- "replace" : " src/environments/environment.ts" ,
54
- "with" : " src/environments/environment.prod.ts"
55
- }
56
- ],
57
- "outputHashing" : " all" ,
58
- "extraWebpackConfig" : " webpack.prod.config.js"
59
- },
60
- "development" : {
61
- "buildOptimizer" : false ,
62
- "optimization" : false ,
63
- "vendorChunk" : true ,
64
- "extractLicenses" : false ,
65
- "sourceMap" : true ,
66
- "namedChunks" : true
67
- }
68
- },
69
- "defaultConfiguration" : " production"
70
- },
71
- "serve" : {
72
- "builder" : " ngx-build-plus:dev-server" ,
73
- "configurations" : {
74
- "production" : {
75
- "browserTarget" : " ng-shell:build:production" ,
76
- "extraWebpackConfig" : " webpack.prod.config.js"
77
- },
78
- "development" : {
79
- "browserTarget" : " ng-shell:build:development"
80
- }
81
- },
82
- "defaultConfiguration" : " development" ,
83
- "options" : {
84
- "port" : 4200 ,
85
- "publicHost" : " http://localhost:4200" ,
86
- "extraWebpackConfig" : " webpack.config.js"
87
- }
88
- },
89
- "extract-i18n" : {
90
- "builder" : " ngx-build-plus:extract-i18n" ,
91
- "options" : {
92
- "browserTarget" : " ng-shell:build" ,
93
- "extraWebpackConfig" : " webpack.config.js"
94
- }
95
- },
96
- "test" : {
97
- "builder" : " @angular-devkit/build-angular:karma" ,
98
- "options" : {
99
- "main" : " src/test.ts" ,
100
- "polyfills" : " src/polyfills.ts" ,
101
- "tsConfig" : " tsconfig.spec.json" ,
102
- "karmaConfig" : " karma.conf.js" ,
103
- "inlineStyleLanguage" : " scss" ,
104
- "assets" : [
105
- " src/favicon.ico" ,
106
- " src/assets"
107
- ],
108
- "styles" : [
109
- " src/styles.scss"
110
- ],
111
- "scripts" : []
112
- }
113
- }
114
- }
115
- }
116
- }
117
- }
2
+ "$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
3
+ "version" : 1 ,
4
+ "newProjectRoot" : " projects" ,
5
+ "projects" : {
6
+ "ng-shell" : {
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" : " ngx-build-plus:browser" ,
19
+ "options" : {
20
+ "outputPath" : " ../src/main/resources/static" ,
21
+ "index" : " src/index.html" ,
22
+ "main" : " src/main.ts" ,
23
+ "polyfills" : " src/polyfills.ts" ,
24
+ "tsConfig" : " tsconfig.app.json" ,
25
+ "inlineStyleLanguage" : " scss" ,
26
+ "assets" : [
27
+ " src/favicon.ico" ,
28
+ " src/assets"
29
+ ],
30
+ "styles" : [
31
+ " src/styles.scss"
32
+ ],
33
+ "scripts" : [],
34
+ "extraWebpackConfig" : " webpack.config.js" ,
35
+ "commonChunk" : false
36
+ },
37
+ "configurations" : {
38
+ "production" : {
39
+ "budgets" : [
40
+ {
41
+ "type" : " initial" ,
42
+ "maximumWarning" : " 500kb" ,
43
+ "maximumError" : " 1mb"
44
+ },
45
+ {
46
+ "type" : " anyComponentStyle" ,
47
+ "maximumWarning" : " 2kb" ,
48
+ "maximumError" : " 4kb"
49
+ }
50
+ ],
51
+ "fileReplacements" : [
52
+ {
53
+ "replace" : " src/environments/environment.ts" ,
54
+ "with" : " src/environments/environment.prod.ts"
55
+ }
56
+ ],
57
+ "outputHashing" : " all" ,
58
+ "extraWebpackConfig" : " webpack.prod.config.js"
59
+ },
60
+ "development" : {
61
+ "buildOptimizer" : false ,
62
+ "optimization" : false ,
63
+ "vendorChunk" : true ,
64
+ "extractLicenses" : false ,
65
+ "sourceMap" : true ,
66
+ "namedChunks" : true
67
+ }
68
+ },
69
+ "defaultConfiguration" : " production"
70
+ },
71
+ "serve" : {
72
+ "builder" : " ngx-build-plus:dev-server" ,
73
+ "configurations" : {
74
+ "production" : {
75
+ "browserTarget" : " ng-shell:build:production" ,
76
+ "extraWebpackConfig" : " webpack.prod.config.js"
77
+ },
78
+ "development" : {
79
+ "browserTarget" : " ng-shell:build:development"
80
+ }
81
+ },
82
+ "defaultConfiguration" : " development" ,
83
+ "options" : {
84
+ "port" : 4200 ,
85
+ "publicHost" : " http://localhost:4200" ,
86
+ "extraWebpackConfig" : " webpack.config.js"
87
+ }
88
+ },
89
+ "extract-i18n" : {
90
+ "builder" : " ngx-build-plus:extract-i18n" ,
91
+ "options" : {
92
+ "browserTarget" : " ng-shell:build" ,
93
+ "extraWebpackConfig" : " webpack.config.js"
94
+ }
95
+ },
96
+ "test" : {
97
+ "builder" : " @angular-devkit/build-angular:karma" ,
98
+ "options" : {
99
+ "main" : " src/test.ts" ,
100
+ "polyfills" : " src/polyfills.ts" ,
101
+ "tsConfig" : " tsconfig.spec.json" ,
102
+ "karmaConfig" : " karma.conf.js" ,
103
+ "inlineStyleLanguage" : " scss" ,
104
+ "assets" : [
105
+ " src/favicon.ico" ,
106
+ " src/assets"
107
+ ],
108
+ "styles" : [
109
+ " src/styles.scss"
110
+ ],
111
+ "scripts" : []
112
+ }
113
+ },
114
+ "lint" : {
115
+ "builder" : " @angular-eslint/builder:lint" ,
116
+ "options" : {
117
+ "lintFilePatterns" : [
118
+ " src/**/*.ts" ,
119
+ " src/**/*.html"
120
+ ]
121
+ }
122
+ }
123
+ }
124
+ }
125
+ },
126
+ "cli" : {
127
+ "schematicCollections" : [
128
+ " @angular-eslint/schematics"
129
+ ]
130
+ }
131
+ }
0 commit comments