-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathangular.json
179 lines (179 loc) · 5.92 KB
/
angular.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"grade-scope-istic": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src/main/webapp",
"prefix": "jhi",
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"allowedCommonJsDependencies": [
"dayjs",
"file-saver",
"jszip",
"@supercharge/promise-pool",
"fabric",
"html2canvas",
"dompurify",
"rgbcolor",
"raf",
"core-js/modules/web.dom-collections.iterator.js",
"core-js/modules/es.string.trim.js",
"core-js/modules/es.string.starts-with.js",
"core-js/modules/es.string.split.js",
"core-js/modules/es.string.replace.js",
"core-js/modules/es.string.match.js",
"core-js/modules/es.string.includes.js",
"core-js/modules/es.string.ends-with.js",
"core-js/modules/es.regexp.to-string.js",
"core-js/modules/es.promise.js",
"core-js/modules/es.array.reverse.js",
"core-js/modules/es.array.reduce.js",
"core-js/modules/es.array.iterator.js",
"core-js/modules/es.array.index-of.js",
"long"
],
"customWebpackConfig": {
"path": "./webpack/webpack.custom.js"
},
"outputPath": "target/classes/static/",
"index": "src/main/webapp/index.html",
"main": "src/main/webapp/main.ts",
"polyfills": "src/main/webapp/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/main/webapp/content",
"src/main/webapp/favicon.ico",
"src/main/webapp/manifest.webapp",
"src/main/webapp/robots.txt",
{
"glob": "**/*",
"input": "node_modules/ngx-extended-pdf-viewer/assets/",
"output": "/assets/"
},
{
"glob": "*.{js,css,html,png}",
"input": "./node_modules/swagger-ui-dist",
"output": "swagger-ui",
"ignore": ["**/index.html"]
},
{
"glob": "axios.min.js",
"input": "./node_modules/axios/dist",
"output": "swagger-ui"
},
{
"glob": "**/*",
"input": "src/main/webapp/swagger-ui/",
"output": "swagger-ui"
}
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/primeicons/primeicons.css",
"src/main/webapp/content/scss/vendor.scss",
"src/main/webapp/content/scss/global.scss"
],
"scripts": ["node_modules/chart.js/dist/chart.umd.js"],
"webWorkerTsConfig": "tsconfig.worker.json"
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json",
"budgets": [
{
"type": "initial",
"maximumWarning": "5mb",
"maximumError": "10mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "20kb",
"maximumError": "30kb"
}
]
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"buildTarget": "grade-scope-istic:build:development",
"port": 8080,
"headers": {
"Cross-Origin-Opener-Policy": "same-origin",
"Cross-Origin-Embedder-Policy": "require-corp",
"Access-Control-Allow-Origin": "domain"
}
},
"configurations": {
"production": {
"buildTarget": "grade-scope-istic:build:production"
},
"development": {
"buildTarget": "grade-scope-istic:build:development"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"configPath": "jest.conf.js",
"webWorkerTsConfig": ["tsconfig.worker.json"]
}
},
"deploy": {
"builder": "angular-cli-ghpages:deploy"
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/main/webapp/**/*.ts", "src/main/webapp/**/*.html"]
}
}
}
}
},
"cli": {
"cache": {
"enabled": true,
"path": "./target/angular/",
"environment": "all"
},
"packageManager": "npm",
"analytics": false,
"schematicCollections": ["@angular-eslint/schematics"]
}
}