cic-staff-client/angular.json

142 lines
4.3 KiB
JSON
Raw Normal View History

2020-10-30 16:16:05 +01:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"cic-staff-client": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/cic-staff-client",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
2020-11-25 08:06:53 +01:00
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
2020-11-04 13:31:38 +01:00
"src/styles.scss",
"node_modules/datatables.net-dt/css/jquery.dataTables.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
2020-10-30 16:16:05 +01:00
],
2020-11-04 13:31:38 +01:00
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/datatables.net/js/jquery.dataTables.js",
2020-11-25 08:06:53 +01:00
"node_modules/bootstrap/dist/js/bootstrap.js",
"node_modules/block-syncer/dist/worker_ondemand.js"
]
2020-10-30 16:16:05 +01:00
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
2020-11-25 08:06:53 +01:00
"browserTarget": "cic-staff-client:build",
"disableHostCheck": true
2020-10-30 16:16:05 +01:00
},
"configurations": {
"production": {
"browserTarget": "cic-staff-client:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "cic-staff-client:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
2020-11-04 13:31:38 +01:00
"codeCoverage": true,
2020-10-30 16:16:05 +01:00
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
2020-11-25 08:06:53 +01:00
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
2020-10-30 16:16:05 +01:00
"src/styles.scss"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
2020-11-25 08:06:53 +01:00
"e2e/tsconfig.json",
"tsconfig.worker.json"
2020-10-30 16:16:05 +01:00
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "cic-staff-client:serve"
},
"configurations": {
"production": {
"devServerTarget": "cic-staff-client:serve:production"
}
}
}
}
2020-11-25 08:06:53 +01:00
}
},
2020-10-30 16:16:05 +01:00
"defaultProject": "cic-staff-client"
}