cic-staff-client/angular.json

155 lines
4.7 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",
"changeDetection": "OnPush"
2020-10-30 16:16:05 +01:00
}
},
"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",
2021-03-22 20:13:11 +01:00
"src/assets",
"src/manifest.webmanifest"
2020-10-30 16:16:05 +01:00
],
"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/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",
2021-05-15 11:50:13 +02:00
"node_modules/bootstrap/dist/js/bootstrap.js"
2021-07-13 19:04:47 +02:00
],
"webWorkerTsConfig": "tsconfig.worker.json"
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"
}
2021-03-22 20:13:11 +01:00
],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
},
"dev": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.dev.ts"
}
]
2020-10-30 16:16:05 +01:00
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
2021-02-09 09:32:37 +01:00
"browserTarget": "cic-staff-client:build"
2020-10-30 16:16:05 +01:00
},
"configurations": {
"production": {
"browserTarget": "cic-staff-client:build:production"
},
"dev": {
"browserTarget": "cic-staff-client:build:dev"
2020-10-30 16:16:05 +01:00
}
}
},
"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",
2021-03-22 20:13:11 +01:00
"src/assets",
"src/manifest.webmanifest"
2020-10-30 16:16:05 +01:00
],
"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",
2021-07-13 19:04:47 +02: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"
}