2020-01-07 14:27:10 +00:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
2020-01-14 21:52:39 +00:00
|
|
|
"cr-connect-bpmn": {
|
2020-01-07 14:27:10 +00:00
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
2020-01-10 19:15:33 +00:00
|
|
|
"projectType": "application",
|
2020-01-07 14:27:10 +00:00
|
|
|
"prefix": "app",
|
2020-01-10 19:15:33 +00:00
|
|
|
"schematics": {},
|
2020-01-07 14:27:10 +00:00
|
|
|
"architect": {
|
|
|
|
"build": {
|
2020-01-24 21:27:59 +00:00
|
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
2020-01-07 14:27:10 +00:00
|
|
|
"options": {
|
2020-01-24 21:27:59 +00:00
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./webpack.config.js"
|
|
|
|
},
|
2020-01-14 21:52:39 +00:00
|
|
|
"outputPath": "dist/cr-connect-bpmn",
|
2020-01-07 14:27:10 +00:00
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2020-01-10 19:15:33 +00:00
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
2020-01-07 14:27:10 +00:00
|
|
|
"assets": [
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
|
|
|
],
|
|
|
|
"styles": [
|
2020-01-10 19:15:33 +00:00
|
|
|
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
|
|
"node_modules/bpmn-js/dist/assets/diagram-js.css",
|
|
|
|
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css",
|
|
|
|
"src/styles.css"
|
2020-01-07 14:27:10 +00:00
|
|
|
],
|
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
2020-01-14 14:35:36 +00:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"staging": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.staging.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
2020-01-07 14:27:10 +00:00
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"budgets": [
|
|
|
|
{
|
|
|
|
"type": "initial",
|
|
|
|
"maximumWarning": "2mb",
|
|
|
|
"maximumError": "5mb"
|
|
|
|
}
|
|
|
|
]
|
2020-01-29 15:13:19 +00:00
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.test.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2020-01-24 21:27:59 +00:00
|
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
2020-01-07 14:27:10 +00:00
|
|
|
"options": {
|
2020-01-29 16:15:13 +00:00
|
|
|
"port": 5002,
|
2020-01-24 21:27:59 +00:00
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./webpack.config.js"
|
|
|
|
},
|
2020-01-14 21:52:39 +00:00
|
|
|
"browserTarget": "cr-connect-bpmn:build"
|
2020-01-07 14:27:10 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2020-01-14 21:52:39 +00:00
|
|
|
"browserTarget": "cr-connect-bpmn:build:production"
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
2020-01-14 21:52:39 +00:00
|
|
|
"browserTarget": "cr-connect-bpmn:build"
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2020-01-27 16:07:40 +00:00
|
|
|
"builder": "@angular-builders/custom-webpack:karma",
|
2020-01-07 14:27:10 +00:00
|
|
|
"options": {
|
2020-01-27 16:07:40 +00:00
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./webpack.config.js"
|
|
|
|
},
|
2020-01-07 14:27:10 +00:00
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
2020-01-10 19:15:33 +00:00
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
2020-01-14 21:52:39 +00:00
|
|
|
"karmaConfig": "karma.conf.js",
|
2020-01-10 19:15:33 +00:00
|
|
|
"styles": [
|
|
|
|
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
|
|
"src/styles.css"
|
|
|
|
],
|
|
|
|
"scripts": [],
|
2020-01-07 14:27:10 +00:00
|
|
|
"assets": [
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
|
|
|
],
|
2020-01-10 19:15:33 +00:00
|
|
|
"codeCoverageExclude": [
|
2020-01-15 17:16:57 +00:00
|
|
|
"src/testing/**/*",
|
2020-01-10 19:15:33 +00:00
|
|
|
"src/app/_interfaces/*.ts",
|
|
|
|
"src/polyfills.ts",
|
|
|
|
"src/test.ts"
|
|
|
|
]
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
2020-01-10 19:15:33 +00:00
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
2020-01-07 14:27:10 +00:00
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
2020-01-10 19:15:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-01-14 21:52:39 +00:00
|
|
|
"cr-connect-bpmn-e2e": {
|
2020-01-10 19:15:33 +00:00
|
|
|
"root": "e2e/",
|
|
|
|
"projectType": "application",
|
|
|
|
"prefix": "",
|
|
|
|
"architect": {
|
2020-01-07 14:27:10 +00:00
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
2020-01-14 21:52:39 +00:00
|
|
|
"devServerTarget": "cr-connect-bpmn:serve"
|
2020-01-07 14:27:10 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2020-01-14 21:52:39 +00:00
|
|
|
"devServerTarget": "cr-connect-bpmn:serve:production"
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-10 19:15:33 +00:00
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
2020-01-07 14:27:10 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-10 19:15:33 +00:00
|
|
|
}
|
|
|
|
},
|
2020-01-14 21:52:39 +00:00
|
|
|
"defaultProject": "cr-connect-bpmn",
|
2020-01-10 19:15:33 +00:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"style": "scss"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|