Rohan Patel | 6f7e46b | 2019-09-25 14:35:28 -0400 | [diff] [blame] | 1 | {
|
| 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
| 3 | "version": 1,
|
| 4 | "newProjectRoot": "projects",
|
| 5 | "projects": {
|
| 6 | "test-ng4": {
|
| 7 | "root": "",
|
| 8 | "sourceRoot": "client/src",
|
| 9 | "projectType": "application",
|
| 10 | "architect": {
|
| 11 | "build": {
|
| 12 | "builder": "@angular-devkit/build-angular:browser",
|
| 13 | "options": {
|
| 14 | "outputPath": "client/dist",
|
| 15 | "index": "client/src/index.html",
|
| 16 | "main": "client/src/main.ts",
|
| 17 | "tsConfig": "client/src/tsconfig.app.json",
|
| 18 | "polyfills": "client/src/polyfills.ts",
|
| 19 | "assets": [
|
| 20 | "client/src/assets",
|
| 21 | "client/src/favicon.ico"
|
| 22 | ],
|
| 23 | "scripts": [
|
| 24 | "node_modules/jquery/dist/jquery.js",
|
| 25 | "node_modules/datatables.net/js/jquery.dataTables.js"
|
| 26 | ],
|
| 27 | "styles": [
|
| 28 | "node_modules/font-awesome/css/font-awesome.css",
|
| 29 | "node_modules/material-design-icons/iconfont/material-icons.css",
|
| 30 | "client/src/styles/app.scss",
|
| 31 | "node_modules/bpmn-js/dist/assets/diagram-js.css",
|
| 32 | "node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css",
|
| 33 | "node_modules/bpmn-js-properties-panel/styles/properties.less",
|
| 34 | "node_modules/bpmn-font/dist/css/bpmn.css",
|
| 35 | "node_modules/diagram-js-minimap/assets/diagram-js-minimap.css",
|
| 36 | "node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
| 37 | ]
|
| 38 | },
|
| 39 | "configurations": {
|
| 40 | "production": {
|
| 41 | "optimization": false,
|
| 42 | "outputHashing": "all",
|
| 43 | "sourceMap": false,
|
| 44 | "extractCss": true,
|
| 45 | "namedChunks": false,
|
| 46 | "aot": false,
|
| 47 | "extractLicenses": true,
|
| 48 | "vendorChunk": false,
|
| 49 | "buildOptimizer": false,
|
| 50 | "fileReplacements": [
|
| 51 | {
|
| 52 | "replace": "client/src/environments/environment.ts",
|
| 53 | "with": "client/src/environments/environment.prod.ts"
|
| 54 | }
|
| 55 | ]
|
| 56 | }
|
| 57 | }
|
| 58 | },
|
| 59 | "serve": {
|
| 60 | "builder": "@angular-devkit/build-angular:dev-server",
|
| 61 | "options": {
|
| 62 | "browserTarget": "test-ng4:build"
|
| 63 | },
|
| 64 | "configurations": {
|
| 65 | "production": {
|
| 66 | "browserTarget": "test-ng4:build:production"
|
| 67 | }
|
| 68 | }
|
| 69 | },
|
| 70 | "extract-i18n": {
|
| 71 | "builder": "@angular-devkit/build-angular:extract-i18n",
|
| 72 | "options": {
|
| 73 | "browserTarget": "test-ng4:build"
|
| 74 | }
|
| 75 | },
|
| 76 | "test": {
|
| 77 | "builder": "@angular-devkit/build-angular:karma",
|
| 78 | "options": {
|
| 79 | "main": "client/src/test.ts",
|
| 80 | "karmaConfig": "./karma.conf.js",
|
| 81 | "polyfills": "client/src/polyfills.ts",
|
| 82 | "tsConfig": "client/src/tsconfig.spec.json",
|
| 83 | "scripts": [
|
| 84 | "node_modules/chart.js/dist/Chart.js"
|
| 85 | ],
|
| 86 | "styles": [
|
| 87 | "node_modules/font-awesome/css/font-awesome.css",
|
| 88 | "node_modules/material-design-icons/iconfont/material-icons.css",
|
| 89 | "client/src/styles/app.scss"
|
| 90 | ],
|
| 91 | "assets": [
|
| 92 | "client/src/assets",
|
| 93 | "client/src/favicon.ico"
|
| 94 | ]
|
| 95 | }
|
| 96 | },
|
| 97 | "lint": {
|
| 98 | "builder": "@angular-devkit/build-angular:tslint",
|
| 99 | "options": {
|
| 100 | "tsConfig": [
|
| 101 | "client/src/tsconfig.app.json",
|
| 102 | "client/src/tsconfig.spec.json"
|
| 103 | ],
|
| 104 | "exclude": [
|
| 105 | "**/node_modules/**"
|
| 106 | ]
|
| 107 | }
|
| 108 | }
|
| 109 | }
|
| 110 | },
|
| 111 | "test-ng4-e2e": {
|
| 112 | "root": "",
|
| 113 | "sourceRoot": "",
|
| 114 | "projectType": "application",
|
| 115 | "architect": {
|
| 116 | "e2e": {
|
| 117 | "builder": "@angular-devkit/build-angular:protractor",
|
| 118 | "options": {
|
| 119 | "protractorConfig": "./protractor.conf.js",
|
| 120 | "devServerTarget": "test-ng4:serve"
|
| 121 | }
|
| 122 | },
|
| 123 | "lint": {
|
| 124 | "builder": "@angular-devkit/build-angular:tslint",
|
| 125 | "options": {
|
| 126 | "tsConfig": [
|
| 127 | "client/e2e/tsconfig.e2e.json"
|
| 128 | ],
|
| 129 | "exclude": [
|
| 130 | "**/node_modules/**"
|
| 131 | ]
|
| 132 | }
|
| 133 | }
|
| 134 | }
|
| 135 | }
|
| 136 | },
|
| 137 | "defaultProject": "test-ng4",
|
| 138 | "schematics": {
|
| 139 | "@schematics/angular:component": {
|
| 140 | "prefix": "app",
|
| 141 | "styleext": "scss"
|
| 142 | },
|
| 143 | "@schematics/angular:directive": {
|
| 144 | "prefix": "app"
|
| 145 | }
|
| 146 | }
|
| 147 | }
|