Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | "version": 1, |
| 4 | "newProjectRoot": "projects", |
| 5 | "projects": { |
| 6 | "vid-cli": { |
| 7 | "root": "", |
| 8 | "sourceRoot": "src", |
| 9 | "projectType": "application", |
| 10 | "architect": { |
| 11 | "build": { |
| 12 | "builder": "@angular-devkit/build-angular:browser", |
| 13 | "options": { |
| 14 | "outputPath": "dist", |
| 15 | "index": "src/index.html", |
| 16 | "main": "src/main.ts", |
| 17 | "tsConfig": "src/tsconfig.app.json", |
| 18 | "polyfills": "src/polyfills.ts", |
| 19 | "assets": [ |
| 20 | "src/assets", |
| 21 | "src/favicon.ico" |
| 22 | ], |
| 23 | "styles": [ |
| 24 | "src/styles.scss", |
| 25 | "node_modules/font-awesome/css/font-awesome.css", |
| 26 | "node_modules/bootstrap/dist/css/bootstrap.min.css", |
| 27 | "node_modules/angular-tree-component/dist/angular-tree-component.css" |
| 28 | ], |
| 29 | "scripts": [] |
| 30 | }, |
| 31 | "configurations": { |
| 32 | "production": { |
| 33 | "optimization": true, |
| 34 | "outputHashing": "all", |
| 35 | "sourceMap": false, |
| 36 | "extractCss": true, |
| 37 | "namedChunks": false, |
| 38 | "aot": true, |
| 39 | "extractLicenses": true, |
| 40 | "vendorChunk": false, |
| 41 | "buildOptimizer": true, |
| 42 | "fileReplacements": [ |
| 43 | { |
| 44 | "replace": "src/environments/environment.ts", |
| 45 | "with": "src/environments/environment.prod.ts" |
| 46 | } |
| 47 | ] |
| 48 | } |
| 49 | } |
| 50 | }, |
| 51 | "serve": { |
| 52 | "builder": "@angular-devkit/build-angular:dev-server", |
| 53 | "options": { |
| 54 | "browserTarget": "vid-cli:build" |
| 55 | }, |
| 56 | "configurations": { |
| 57 | "production": { |
| 58 | "browserTarget": "vid-cli:build:production" |
| 59 | } |
| 60 | } |
| 61 | }, |
| 62 | "extract-i18n": { |
| 63 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 64 | "options": { |
| 65 | "browserTarget": "vid-cli:build" |
| 66 | } |
| 67 | }, |
| 68 | "test": { |
| 69 | "builder": "@angular-builders/jest:run", |
| 70 | "options": { |
| 71 | "scripts": [], |
| 72 | "styles": [ |
| 73 | "src/styles.scss", |
| 74 | "node_modules/font-awesome/css/font-awesome.css", |
| 75 | "node_modules/bootstrap/dist/css/bootstrap.min.css", |
| 76 | "node_modules/angular-tree-component/dist/angular-tree-component.css" |
| 77 | ], |
| 78 | "assets": [ |
| 79 | "src/assets", |
| 80 | "src/favicon.ico" |
| 81 | ] |
| 82 | } |
| 83 | }, |
| 84 | "lint": { |
| 85 | "builder": "@angular-devkit/build-angular:tslint", |
| 86 | "options": { |
| 87 | "tsConfig": [ |
| 88 | "src/tsconfig.app.json", |
| 89 | "src/tsconfig.spec.json" |
| 90 | ], |
| 91 | "exclude": [ |
| 92 | "**/node_modules/**" |
| 93 | ] |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | }, |
| 99 | "defaultProject": "vid-cli", |
| 100 | "schematics": { |
| 101 | "@schematics/angular:component": { |
| 102 | "prefix": "app", |
| 103 | "styleext": "scss" |
| 104 | }, |
| 105 | "@schematics/angular:directive": { |
| 106 | "prefix": "app" |
| 107 | } |
| 108 | } |
| 109 | } |