{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"test-ng4": { | |
"root": "", | |
"sourceRoot": "client/src", | |
"projectType": "application", | |
"architect": { | |
"build": { | |
"builder": "@angular-devkit/build-angular:browser", | |
"options": { | |
"outputPath": "client/dist", | |
"index": "client/src/index.html", | |
"main": "client/src/main.ts", | |
"tsConfig": "client/src/tsconfig.app.json", | |
"polyfills": "client/src/polyfills.ts", | |
"assets": [ | |
"client/src/assets", | |
"client/src/favicon.ico" | |
], | |
"scripts": [ | |
"node_modules/jquery/dist/jquery.js", | |
"node_modules/datatables.net/js/jquery.dataTables.js" | |
], | |
"styles": [ | |
"node_modules/font-awesome/css/font-awesome.css", | |
"node_modules/material-design-icons/iconfont/material-icons.css", | |
"client/src/styles/app.scss", | |
"node_modules/bpmn-js/dist/assets/diagram-js.css", | |
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css", | |
"node_modules/bpmn-js-properties-panel/styles/properties.less", | |
"node_modules/bpmn-font/dist/css/bpmn.css", | |
"node_modules/diagram-js-minimap/assets/diagram-js-minimap.css", | |
"node_modules/datatables.net-dt/css/jquery.dataTables.css" | |
] | |
}, | |
"configurations": { | |
"production": { | |
"optimization": false, | |
"outputHashing": "all", | |
"sourceMap": false, | |
"extractCss": true, | |
"namedChunks": false, | |
"aot": false, | |
"extractLicenses": true, | |
"vendorChunk": false, | |
"buildOptimizer": false, | |
"fileReplacements": [ | |
{ | |
"replace": "client/src/environments/environment.ts", | |
"with": "client/src/environments/environment.prod.ts" | |
} | |
] | |
} | |
} | |
}, | |
"serve": { | |
"builder": "@angular-devkit/build-angular:dev-server", | |
"options": { | |
"browserTarget": "test-ng4:build" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "test-ng4:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "test-ng4:build" | |
} | |
}, | |
"test": { | |
"builder": "@angular-devkit/build-angular:karma", | |
"options": { | |
"main": "client/src/test.ts", | |
"karmaConfig": "./karma.conf.js", | |
"polyfills": "client/src/polyfills.ts", | |
"tsConfig": "client/src/tsconfig.spec.json", | |
"scripts": [ | |
"node_modules/chart.js/dist/Chart.js" | |
], | |
"styles": [ | |
"node_modules/font-awesome/css/font-awesome.css", | |
"node_modules/material-design-icons/iconfont/material-icons.css", | |
"client/src/styles/app.scss" | |
], | |
"assets": [ | |
"client/src/assets", | |
"client/src/favicon.ico" | |
] | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": [ | |
"client/src/tsconfig.app.json", | |
"client/src/tsconfig.spec.json" | |
], | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
} | |
} | |
}, | |
"test-ng4-e2e": { | |
"root": "", | |
"sourceRoot": "", | |
"projectType": "application", | |
"architect": { | |
"e2e": { | |
"builder": "@angular-devkit/build-angular:protractor", | |
"options": { | |
"protractorConfig": "./protractor.conf.js", | |
"devServerTarget": "test-ng4:serve" | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": [ | |
"client/e2e/tsconfig.e2e.json" | |
], | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
} | |
} | |
} | |
}, | |
"defaultProject": "test-ng4", | |
"schematics": { | |
"@schematics/angular:component": { | |
"prefix": "app", | |
"styleext": "scss" | |
}, | |
"@schematics/angular:directive": { | |
"prefix": "app" | |
} | |
} | |
} |