|
16 | 16 | "outputPath": "dist/apps/api", |
17 | 17 | "main": "apps/api/src/main.ts", |
18 | 18 | "tsConfig": "apps/api/tsconfig.app.json", |
19 | | - "assets": [ |
20 | | - "apps/api/src/assets" |
21 | | - ] |
| 19 | + "assets": ["apps/api/src/assets"] |
22 | 20 | }, |
23 | 21 | "configurations": { |
24 | 22 | "production": { |
|
46 | 44 | "apps/api/tsconfig.app.json", |
47 | 45 | "apps/api/tsconfig.spec.json" |
48 | 46 | ], |
49 | | - "exclude": [ |
50 | | - "**/node_modules/**" |
51 | | - ] |
| 47 | + "exclude": ["**/node_modules/**"] |
52 | 48 | } |
53 | 49 | }, |
54 | 50 | "test": { |
|
73 | 69 | "libs/api/orient/tsconfig.lib.json", |
74 | 70 | "libs/api/orient/tsconfig.spec.json" |
75 | 71 | ], |
76 | | - "exclude": [ |
77 | | - "**/node_modules/**" |
78 | | - ] |
| 72 | + "exclude": ["**/node_modules/**"] |
79 | 73 | } |
80 | 74 | }, |
81 | 75 | "test": { |
|
105 | 99 | "libs/core/tsconfig.lib.json", |
106 | 100 | "libs/core/tsconfig.spec.json" |
107 | 101 | ], |
108 | | - "exclude": [ |
109 | | - "**/node_modules/**" |
110 | | - ] |
| 102 | + "exclude": ["**/node_modules/**"] |
111 | 103 | } |
112 | 104 | }, |
113 | 105 | "test": { |
|
134 | 126 | "build": { |
135 | 127 | "builder": "@nrwl/builders:run-commands", |
136 | 128 | "options": { |
137 | | - "commands": [{ |
138 | | - "command": "npx tsc --project apps/cli/tsconfig.app.json" |
139 | | - }] |
| 129 | + "commands": [ |
| 130 | + { |
| 131 | + "command": "npx tsc --project apps/cli/tsconfig.app.json" |
| 132 | + } |
| 133 | + ] |
140 | 134 | }, |
141 | 135 | "configurations": { |
142 | 136 | "production": { |
|
161 | 155 | "apps/cli/tsconfig.app.json", |
162 | 156 | "apps/cli/tsconfig.spec.json" |
163 | 157 | ], |
164 | | - "exclude": [ |
165 | | - "**/node_modules/**" |
166 | | - ] |
| 158 | + "exclude": ["**/node_modules/**"] |
167 | 159 | } |
168 | 160 | }, |
169 | 161 | "test": { |
|
174 | 166 | } |
175 | 167 | } |
176 | 168 | } |
| 169 | + }, |
| 170 | + "web": { |
| 171 | + "root": "apps/web/", |
| 172 | + "sourceRoot": "apps/web/src", |
| 173 | + "projectType": "application", |
| 174 | + "prefix": "sm", |
| 175 | + "schematics": { |
| 176 | + "@nrwl/schematics:component": { |
| 177 | + "style": "scss" |
| 178 | + } |
| 179 | + }, |
| 180 | + "architect": { |
| 181 | + "build": { |
| 182 | + "builder": "@angular-devkit/build-angular:browser", |
| 183 | + "options": { |
| 184 | + "outputPath": "dist/apps/web", |
| 185 | + "index": "apps/web/src/index.html", |
| 186 | + "main": "apps/web/src/main.ts", |
| 187 | + "polyfills": "apps/web/src/polyfills.ts", |
| 188 | + "tsConfig": "apps/web/tsconfig.app.json", |
| 189 | + "assets": ["apps/web/src/favicon.ico", "apps/web/src/assets"], |
| 190 | + "styles": ["apps/web/src/styles.scss"], |
| 191 | + "scripts": [], |
| 192 | + "es5BrowserSupport": true |
| 193 | + }, |
| 194 | + "configurations": { |
| 195 | + "production": { |
| 196 | + "fileReplacements": [ |
| 197 | + { |
| 198 | + "replace": "apps/web/src/environments/environment.ts", |
| 199 | + "with": "apps/web/src/environments/environment.prod.ts" |
| 200 | + } |
| 201 | + ], |
| 202 | + "optimization": true, |
| 203 | + "outputHashing": "all", |
| 204 | + "sourceMap": false, |
| 205 | + "extractCss": true, |
| 206 | + "namedChunks": false, |
| 207 | + "aot": true, |
| 208 | + "extractLicenses": true, |
| 209 | + "vendorChunk": false, |
| 210 | + "buildOptimizer": true, |
| 211 | + "budgets": [ |
| 212 | + { |
| 213 | + "type": "initial", |
| 214 | + "maximumWarning": "2mb", |
| 215 | + "maximumError": "5mb" |
| 216 | + } |
| 217 | + ] |
| 218 | + } |
| 219 | + } |
| 220 | + }, |
| 221 | + "serve": { |
| 222 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 223 | + "options": { |
| 224 | + "browserTarget": "web:build" |
| 225 | + }, |
| 226 | + "configurations": { |
| 227 | + "production": { |
| 228 | + "browserTarget": "web:build:production" |
| 229 | + } |
| 230 | + } |
| 231 | + }, |
| 232 | + "extract-i18n": { |
| 233 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 234 | + "options": { |
| 235 | + "browserTarget": "web:build" |
| 236 | + } |
| 237 | + }, |
| 238 | + "lint": { |
| 239 | + "builder": "@angular-devkit/build-angular:tslint", |
| 240 | + "options": { |
| 241 | + "tsConfig": [ |
| 242 | + "apps/web/tsconfig.app.json", |
| 243 | + "apps/web/tsconfig.spec.json" |
| 244 | + ], |
| 245 | + "exclude": ["**/node_modules/**"] |
| 246 | + } |
| 247 | + }, |
| 248 | + "test": { |
| 249 | + "builder": "@nrwl/builders:jest", |
| 250 | + "options": { |
| 251 | + "jestConfig": "apps/web/jest.config.js", |
| 252 | + "tsConfig": "apps/web/tsconfig.spec.json", |
| 253 | + "setupFile": "apps/web/src/test-setup.ts" |
| 254 | + } |
| 255 | + } |
| 256 | + } |
| 257 | + }, |
| 258 | + "web-e2e": { |
| 259 | + "root": "apps/web-e2e", |
| 260 | + "projectType": "application", |
| 261 | + "prefix": "", |
| 262 | + "architect": { |
| 263 | + "e2e": { |
| 264 | + "builder": "@angular-devkit/build-angular:protractor", |
| 265 | + "options": { |
| 266 | + "protractorConfig": "apps/web-e2e/protractor.conf.js", |
| 267 | + "devServerTarget": "web:serve" |
| 268 | + }, |
| 269 | + "configurations": { |
| 270 | + "production": { |
| 271 | + "devServerTarget": "web:serve:production" |
| 272 | + } |
| 273 | + } |
| 274 | + }, |
| 275 | + "lint": { |
| 276 | + "builder": "@angular-devkit/build-angular:tslint", |
| 277 | + "options": { |
| 278 | + "tsConfig": "apps/web-e2e/tsconfig.e2e.json", |
| 279 | + "exclude": ["**/node_modules/**"] |
| 280 | + } |
| 281 | + } |
| 282 | + } |
177 | 283 | } |
178 | 284 | }, |
179 | 285 | "cli": { |
|
0 commit comments