2018-06-13 18:34:10 +02:00
|
|
|
{
|
2018-06-19 16:55:50 +02:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"client": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2018-09-03 17:57:20 +02:00
|
|
|
"prefix": "os",
|
2018-08-09 16:03:24 +02:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"styleext": "scss"
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/client",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
2018-07-26 16:40:34 +02:00
|
|
|
"styles": ["src/styles.scss"],
|
2018-06-19 16:55:50 +02:00
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "client:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "client:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "client:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"karmaConfig": "src/karma.conf.js",
|
|
|
|
"styles": ["src/styles.css"],
|
|
|
|
"scripts": [],
|
|
|
|
"assets": ["src/favicon.ico", "src/assets"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
2018-09-03 17:57:20 +02:00
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"format": "stylish",
|
2018-06-19 16:55:50 +02:00
|
|
|
"exclude": ["**/node_modules/**"]
|
|
|
|
}
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"client-e2e": {
|
|
|
|
"root": "e2e/",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "client:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "client:serve:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
|
|
"exclude": ["**/node_modules/**"]
|
|
|
|
}
|
|
|
|
}
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-06-19 16:55:50 +02:00
|
|
|
"defaultProject": "client"
|
|
|
|
}
|