199 lines
5.6 KiB
JSON
199 lines
5.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"cr-connect-bpmn": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"schematics": {},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
|
"options": {
|
|
"customWebpackConfig": {
|
|
"path": "./webpack.config.js"
|
|
},
|
|
"outputPath": "dist/cr-connect-bpmn",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"preserveSymlinks": true,
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"node_modules/bpmn-js/dist/assets/diagram-js.css",
|
|
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css",
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
}
|
|
]
|
|
},
|
|
"staging": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
|
"options": {
|
|
"port": 5002,
|
|
"customWebpackConfig": {
|
|
"path": "./webpack.config.js"
|
|
},
|
|
"browserTarget": "cr-connect-bpmn:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "cr-connect-bpmn:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "cr-connect-bpmn:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-builders/custom-webpack:karma",
|
|
"options": {
|
|
"customWebpackConfig": {
|
|
"path": "./webpack.config.js"
|
|
},
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": [],
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets"
|
|
],
|
|
"codeCoverageExclude": [
|
|
"src/testing/**/*",
|
|
"src/app/_interfaces/*.ts",
|
|
"src/polyfills.ts",
|
|
"src/test.ts",
|
|
"docker/**/*"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cr-connect-bpmn-e2e": {
|
|
"root": "e2e/",
|
|
"projectType": "application",
|
|
"prefix": "",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "cr-connect-bpmn:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "cr-connect-bpmn:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "cr-connect-bpmn",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|