mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
7371fda5a8
Router active line broke navigation, replacing it with custom function
138 lines
4.0 KiB
JSON
138 lines
4.0 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"pigallery2": {
|
|
"root": "",
|
|
"sourceRoot": "src/frontend",
|
|
"projectType": "application",
|
|
"schematics": {},
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"crossOrigin": "anonymous",
|
|
"outputPath": "dist",
|
|
"index": "src/frontend/index.html",
|
|
"main": "src/frontend/main.ts",
|
|
"tsConfig": "src/frontend/tsconfig.app.json",
|
|
"polyfills": "src/frontend/polyfills.ts",
|
|
"assets": [
|
|
"src/frontend/assets"
|
|
],
|
|
"styles": [
|
|
"bootstrap/dist/css/bootstrap.min.css",
|
|
"ngx-bootstrap/datepicker/bs-datepicker.css",
|
|
"open-iconic/font/css/open-iconic-bootstrap.css",
|
|
"ngx-toastr/toastr.css",
|
|
"src/frontend/styles.css"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/frontend/environments/environment.ts",
|
|
"with": "src/frontend/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "pigallery2:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "pigallery2:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "pigallery2:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/frontend/test.ts",
|
|
"karmaConfig": "./karma.conf.js",
|
|
"polyfills": "src/frontend/polyfills.ts",
|
|
"tsConfig": "src/frontend/tsconfig.spec.json",
|
|
"scripts": [],
|
|
"styles": [
|
|
"bootstrap/dist/css/bootstrap.min.css",
|
|
"ngx-toastr/toastr.css",
|
|
"bootstrap/dist/css/bootstrap.css",
|
|
"open-iconic/font/css/open-iconic-bootstrap.css",
|
|
"ngx-bootstrap/datepicker/bs-datepicker.css",
|
|
"src/frontend/styles.css"
|
|
],
|
|
"assets": [
|
|
"src/frontend/assets"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"pigallery2-e2e": {
|
|
"root": "",
|
|
"sourceRoot": "",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "pigallery2:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"test/e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "pigallery2",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"styleext": "css"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app"
|
|
}
|
|
}
|
|
}
|