2018-04-12 22:20:01 -04:00
|
|
|
{
|
2018-09-07 08:39:58 -04:00
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
2018-04-12 22:20:01 -04:00
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"angular.io-example": {
|
|
|
|
"root": "",
|
2018-09-07 08:39:58 -04:00
|
|
|
"sourceRoot": "src",
|
2018-04-12 22:20:01 -04:00
|
|
|
"projectType": "application",
|
|
|
|
"prefix": "app",
|
2018-09-07 08:39:58 -04:00
|
|
|
"schematics": {},
|
2018-04-12 22:20:01 -04:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
2018-05-10 11:30:55 -04:00
|
|
|
"outputPath": "dist",
|
2018-04-12 22:20:01 -04:00
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"assets": [
|
2018-09-07 08:39:58 -04:00
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
2018-04-12 22:20:01 -04:00
|
|
|
],
|
|
|
|
"styles": [
|
2018-09-07 08:39:58 -04:00
|
|
|
"src/styles.css"
|
2018-04-12 22:20:01 -04: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,
|
2018-10-08 15:34:44 -04:00
|
|
|
"buildOptimizer": true,
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
}
|
|
|
|
]
|
2018-04-12 22:20:01 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": [
|
2018-09-07 08:39:58 -04:00
|
|
|
"src/styles.css"
|
2018-04-12 22:20:01 -04:00
|
|
|
],
|
|
|
|
"scripts": [],
|
|
|
|
"assets": [
|
2018-09-07 08:39:58 -04:00
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
2018-04-12 22:20:01 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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",
|
2018-09-07 08:39:58 -04:00
|
|
|
"prefix": "",
|
2018-04-12 22:20:01 -04:00
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "angular.io-example:serve"
|
2018-09-07 08:39:58 -04:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "angular.io-example:serve:production"
|
|
|
|
}
|
2018-04-12 22:20:01 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-07 08:39:58 -04:00
|
|
|
},
|
|
|
|
"defaultProject": "angular.io-example"
|
|
|
|
}
|