72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"route-planner": {
|
|
"projectType": "application",
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": "dist/route-planner",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [{ "glob": "**/*", "input": "public" }],
|
|
"styles": [
|
|
"src/styles.css",
|
|
"node_modules/leaflet/dist/leaflet.css",
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.css",
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{ "type": "initial", "maximumWarning": "2.1MB", "maximumError": "3MB" },
|
|
{ "type": "anyComponentStyle", "maximumWarning": "6kB", "maximumError": "12kB" }
|
|
],
|
|
"outputHashing": "all",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": { "buildTarget": "route-planner:build:production" },
|
|
"development": { "buildTarget": "route-planner:build:development" }
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:unit-test",
|
|
"options": {
|
|
"tsConfig": "tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|