234 lines
7.2 KiB
JSON
234 lines
7.2 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"
|
|
},
|
|
"allowedCommonJsDependencies": [
|
|
"lodash",
|
|
"ids",
|
|
"bpmn-js-properties-panel",
|
|
"diagram-js-code-editor"
|
|
],
|
|
"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-properties-panel/dist/assets/bpmn-js-properties-panel.css",
|
|
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css",
|
|
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css",
|
|
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css",
|
|
"node_modules/bpmn-js/dist/assets/diagram-js.css",
|
|
"node_modules/dmn-js-properties-panel/dist/assets/dmn-js-properties-panel.css",
|
|
"node_modules/dmn-js/dist/assets/diagram-js.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-font/css/dmn-codes.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-font/css/dmn-embedded.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-font/css/dmn.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-js-decision-table-controls.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-js-decision-table.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-js-drd.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-js-literal-expression.css",
|
|
"node_modules/dmn-js/dist/assets/dmn-js-shared.css",
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": 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": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": 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": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": 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,
|
|
"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-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"e2e//**/*.ts",
|
|
"e2e//**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "cr-connect-bpmn",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false,
|
|
"defaultCollection": "@angular-eslint/schematics"
|
|
}
|
|
}
|