2018-05-23 08:27:07 +08:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"pigallery2": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "frontend",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist",
|
|
|
|
"index": "frontend/index.html",
|
|
|
|
"main": "frontend/main.ts",
|
|
|
|
"tsConfig": "frontend/tsconfig.app.json",
|
|
|
|
"polyfills": "frontend/polyfills.ts",
|
|
|
|
"assets": [
|
2018-12-08 05:06:13 +08:00
|
|
|
{
|
|
|
|
"glob": "**/*",
|
|
|
|
"input": "./node_modules/leaflet/dist/images",
|
|
|
|
"output": "/"
|
|
|
|
},
|
2018-05-23 08:27:07 +08:00
|
|
|
"frontend/assets"
|
|
|
|
],
|
|
|
|
"styles": [
|
2018-12-08 05:06:13 +08:00
|
|
|
"node_modules/leaflet/dist/leaflet.css",
|
2018-05-23 08:27:07 +08:00
|
|
|
"node_modules/ngx-toastr/toastr.css",
|
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.css",
|
|
|
|
"node_modules/open-iconic/font/css/open-iconic-bootstrap.css",
|
2018-10-22 06:24:17 +08:00
|
|
|
"node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
|
2018-05-23 08:27:07 +08:00
|
|
|
"frontend/styles.css"
|
|
|
|
],
|
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "frontend/environments/environment.ts",
|
|
|
|
"with": "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": "frontend/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"polyfills": "frontend/polyfills.ts",
|
|
|
|
"tsConfig": "frontend/tsconfig.spec.json",
|
|
|
|
"scripts": [],
|
|
|
|
"styles": [
|
2018-10-23 16:02:14 +08:00
|
|
|
"node_modules/ngx-toastr/toastr.css",
|
2018-05-23 08:27:07 +08:00
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.css",
|
|
|
|
"node_modules/open-iconic/font/css/open-iconic-bootstrap.css",
|
|
|
|
"frontend/styles.css"
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|