143 lines
4.1 KiB
JSON
143 lines
4.1 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"angular-jumpstart": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"polyfills": "src/polyfills.ts",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
],
|
|
"styles": [
|
|
"src/styles.css"
|
|
],
|
|
"scripts": [],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "angular-jumpstart:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "angular-jumpstart:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "angular-jumpstart:build"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"playground": {
|
|
"projectType": "application",
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/playground",
|
|
"index": "src/index.html",
|
|
"main": ".angular-playground/main.playground.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": ".angular-playground/tsconfig.playground.json",
|
|
"aot": false,
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.css"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "environments/environment.ts",
|
|
"with": "environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"buildOptimizer": false,
|
|
"extractLicenses": false,
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "playground:build",
|
|
"port": 4201
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "cm",
|
|
"style": "css"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "cm"
|
|
}
|
|
},
|
|
"defaultProject": "angular-jumpstart"
|
|
} |