2018-04-03 16:31:03 -04:00
|
|
|
{
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"cli-hello-world": {
|
|
|
|
"root": "",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"glob": "assets",
|
|
|
|
"input": "/src",
|
|
|
|
"output": "/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"glob": "favicon.ico",
|
|
|
|
"input": "/src",
|
|
|
|
"output": "/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"input": "src/styles.css"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"dev": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"from": "src/environments/environment.ts",
|
|
|
|
"to": "dist/environments/environment.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
2018-04-07 01:39:18 -04:00
|
|
|
"sourceMap": true,
|
2018-04-03 16:31:03 -04:00
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"src": "src/environments/environment.ts",
|
|
|
|
"replaceWith": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "cli-hello-world:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"dev": {
|
|
|
|
"browserTarget": "cli-hello-world:build:dev"
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "cli-hello-world:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "cli-hello-world:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"input": "src/styles.css"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"glob": "assets",
|
|
|
|
"input": "/src",
|
|
|
|
"output": "/"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"glob": "favicon.ico",
|
|
|
|
"input": "/src",
|
|
|
|
"output": "/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"cli-hello-world-e2e": {
|
|
|
|
"root": "",
|
|
|
|
"projectType": "application",
|
|
|
|
"cli": {},
|
|
|
|
"schematics": {},
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.conf.js",
|
|
|
|
"devServerTarget": "cli-hello-world:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "css"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"prefix": "app"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|