96 lines
3.9 KiB
JSON
96 lines
3.9 KiB
JSON
{
|
|
"name": "cr-connect-bpmn",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"build:prod": "ng build --configuration=production",
|
|
"build:staging": "ng build --configuration=staging",
|
|
"build:test": "ng build --configuration=test",
|
|
"test": "ng test",
|
|
"test:coverage": "ng test --codeCoverage=true --watch=false --browsers=ChromeHeadless",
|
|
"lint": "ng lint",
|
|
"e2e": "./node_modules/protractor/bin/webdriver-manager update && ng e2e",
|
|
"e2e:with-wf": "npm run e2e-wf && ng e2e && npm run e2e-wf:stop && npm run e2e-wf:clean",
|
|
"e2e-wf:stop": "docker stop db || true && docker stop backend || true && docker stop pb || true",
|
|
"e2e-wf:clean": "docker system prune -f && cd docker && docker-compose rm -f -v -s && cd ..",
|
|
"e2e-wf:build": "cd docker && docker-compose pull && docker-compose build --no-cache && cd ..",
|
|
"e2e-wf:start": "cd docker && docker-compose up -d && cd ..",
|
|
"e2e-wf:db-upgrade": "docker exec -it backend pipenv run flask db upgrade",
|
|
"e2e-wf:db-setup": "docker exec -it backend pipenv run flask load-example-data",
|
|
"e2e-wf:pb-setup": "docker exec -it pb pipenv run flask db upgrade",
|
|
"e2e-wf": "npm run e2e-wf:stop && npm run e2e-wf:clean && npm run e2e-wf:build && npm run e2e-wf:start && npm run e2e-wf:db-upgrade && npm run e2e-wf:db-setup && npm run e2e-wf:pb-setup",
|
|
"e2e:env": "cp src/index.html src/index.html.tmp && chmod +x ./docker/substitute-env-variables.sh && ./docker/substitute-env-variables.sh src/index.html PRODUCTION,API_URL,IRB_URL,HOME_ROUTE,BASE_HREF,PORT0",
|
|
"e2e:env-restore": "rm src/index.html && mv src/index.html.tmp src/index.html",
|
|
"ci": "npm run lint && npm run test:coverage && npm run e2e:env && npm run e2e:with-wf && npm run e2e:env-restore && sonar-scanner"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "^9.0.7",
|
|
"@angular/cdk": "^9.2.1",
|
|
"@angular/common": "^9.0.7",
|
|
"@angular/compiler": "^9.0.7",
|
|
"@angular/core": "^9.0.7",
|
|
"@angular/flex-layout": "^9.0.0-beta.29",
|
|
"@angular/forms": "^9.0.7",
|
|
"@angular/material": "^9.1.3",
|
|
"@angular/platform-browser": "^9.0.7",
|
|
"@angular/platform-browser-dynamic": "^9.0.7",
|
|
"@angular/router": "^9.0.7",
|
|
"@ngx-formly/core": "^5.5.15",
|
|
"@ngx-formly/material": "^5.5.15",
|
|
"bpmn-js": "^6.4.2",
|
|
"bpmn-js-properties-panel": "^0.33.2",
|
|
"camunda-bpmn-moddle": "^4.4.0",
|
|
"camunda-dmn-moddle": "^1.0.0",
|
|
"diagram-js": "^6.4.1",
|
|
"diagram-js-minimap": "^2.0.3",
|
|
"dmn-js": "^7.5.0",
|
|
"dmn-js-properties-panel": "^0.3.5",
|
|
"dmn-moddle": "^6.0.0",
|
|
"file-saver": "^2.0.2",
|
|
"ngx-device-detector": "^1.4.1",
|
|
"ngx-file-drop": "^8.0.8",
|
|
"ngx-markdown": "^9.0.0",
|
|
"rxjs": "~6.5.4",
|
|
"sartography-workflow-lib": "^0.0.177",
|
|
"tslib": "^1.11.1",
|
|
"uuid": "^7.0.2",
|
|
"zone.js": "^0.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-builders/custom-webpack": "^9.0.0",
|
|
"@angular-devkit/build-angular": "^0.900.7",
|
|
"@angular/cli": "^9.0.7",
|
|
"@angular/compiler-cli": "^9.0.7",
|
|
"@angular/language-service": "^9.0.7",
|
|
"@babel/core": "^7.8.7",
|
|
"@babel/preset-env": "^7.8.7",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@types/jasmine": "^3.5.9",
|
|
"@types/jasminewd2": "^2.0.8",
|
|
"@types/node": "^12.12.30",
|
|
"babel-loader": "^8.0.6",
|
|
"codelyzer": "^5.1.2",
|
|
"jasmine-core": "~3.5.0",
|
|
"jasmine-spec-reporter": "~4.2.1",
|
|
"karma": "^4.4.1",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage-istanbul-reporter": "^2.1.1",
|
|
"karma-jasmine": "~3.1.1",
|
|
"karma-jasmine-html-reporter": "^1.5.2",
|
|
"mockdate": "^2.0.5",
|
|
"postcss-short": "^5.0.0",
|
|
"protractor": "^5.4.3",
|
|
"puppeteer": "^2.1.1",
|
|
"sonar-scanner": "^3.1.0",
|
|
"ts-node": "~8.6.2",
|
|
"tslint": "~6.0.0",
|
|
"typescript": "~3.7.5",
|
|
"webpack": "^4.42.0",
|
|
"webpack-dev-server": "^3.10.3",
|
|
"webpack-notifier": "^1.8.0"
|
|
}
|
|
}
|