142 lines
3.9 KiB
JSON
142 lines
3.9 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"angular.io-example": {
|
|
"root": "",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/angular.io-example",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "favicon.ico",
|
|
"input": "src",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "/assets"
|
|
}
|
|
],
|
|
"styles": [
|
|
{
|
|
"input": "src/styles.css"
|
|
},
|
|
{
|
|
"input": "src/test.css"
|
|
}
|
|
],
|
|
"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": "angular.io-example:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "angular.io-example:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "angular.io-example: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": [
|
|
{
|
|
"input": "styles.css"
|
|
}
|
|
],
|
|
"scripts": [],
|
|
"assets": [
|
|
{
|
|
"glob": "favicon.ico",
|
|
"input": "src/",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "/assets"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"angular.io-example-e2e": {
|
|
"root": "e2e/",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "angular.io-example:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |