85 lines
3.3 KiB
JSON
85 lines
3.3 KiB
JSON
{
|
|
"name": "cr-connect-frontend",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"build:prod": "ng build --configuration=production --prod --base-href=__REPLACE_ME_WITH_BASE_HREF__ --deploy-url=__REPLACE_ME_WITH_DEPLOY_URL__",
|
|
"build:staging": "ng build --configuration=staging --prod --base-href=__REPLACE_ME_WITH_BASE_HREF__ --deploy-url=__REPLACE_ME_WITH_DEPLOY_URL__",
|
|
"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-backend": "npm run backend && ng e2e && npm run backend:stop",
|
|
"backend:stop": "cd docker && docker-compose down && cd ..",
|
|
"backend:build": "cd docker && docker-compose pull && docker-compose build && cd ..",
|
|
"backend:start": "cd docker && docker-compose up -d --force-recreate && cd ..",
|
|
"backend": "npm run backend:stop && npm run backend:build && npm run backend:start",
|
|
"env": "chmod +x ./docker/substitute-env-variables.sh && ./docker/substitute-env-variables.sh src/index.html PRODUCTION,API_URL,IRB_URL,HOME_ROUTE,BASE_HREF,DEPLOY_URL,PORT0,GOOGLE_ANALYTICS_KEY,SENTRY_KEY,TITLE",
|
|
"ci": "npm run lint && npm run test:coverage && sonar-scanner && npm run env && npm run backend && npm run e2e"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "~9.1.11",
|
|
"@angular/cdk": "^9.2.4",
|
|
"@angular/common": "~9.1.11",
|
|
"@angular/compiler": "~9.1.11",
|
|
"@angular/core": "~9.1.11",
|
|
"@angular/flex-layout": "^9.0.0-beta.31",
|
|
"@angular/forms": "~9.1.11",
|
|
"@angular/material": "^9.2.4",
|
|
"@angular/platform-browser": "~9.1.11",
|
|
"@angular/platform-browser-dynamic": "~9.1.11",
|
|
"@angular/router": "~9.1.11",
|
|
"@ngx-formly/core": "^5.8.0",
|
|
"@ngx-formly/material": "^5.8.0",
|
|
"@ngx-progressbar/core": "^5.3.2",
|
|
"@sentry/browser": "^5.19.0",
|
|
"@yellowspot/ng-truncate": "^1.5.1",
|
|
"chart.js": "^2.9.3",
|
|
"highlight.js": "^9.18.1",
|
|
"lodash.isequal": "^4.5.0",
|
|
"ng2-charts": "^2.3.2",
|
|
"ngx-device-detector": "^1.4.5",
|
|
"ngx-file-drop": "^8.0.8",
|
|
"ngx-highlightjs": "4.1.0-beta",
|
|
"ngx-markdown": "^9.1.1",
|
|
"ngx-page-scroll": "^7.0.0",
|
|
"ngx-page-scroll-core": "^7.0.0",
|
|
"rfdc": "^1.1.4",
|
|
"rxjs": "~6.5.4",
|
|
"sartography-workflow-lib": "0.0.385",
|
|
"timeago.js": "^4.0.2",
|
|
"ts-md5": "^1.2.7",
|
|
"tslib": "^1.13.0",
|
|
"zone.js": "~0.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "^0.901.10",
|
|
"@angular/cli": "^9.1.10",
|
|
"@angular/compiler-cli": "~9.1.11",
|
|
"@angular/language-service": "~9.1.11",
|
|
"@types/jasmine": "^3.5.11",
|
|
"@types/jasminewd2": "~2.0.3",
|
|
"@types/node": "^12.12.47",
|
|
"codelyzer": "^5.1.2",
|
|
"jasmine-core": "~3.5.0",
|
|
"jasmine-spec-reporter": "~4.2.1",
|
|
"karma": "^5.1.0",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage-istanbul-reporter": "~2.1.1",
|
|
"karma-jasmine": "~3.1.1",
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.set": "^4.3.2",
|
|
"protractor": "^7.0.0",
|
|
"protractor-http-client": "^1.0.4",
|
|
"sonar-scanner": "^3.1.0",
|
|
"ts-node": "~8.6.2",
|
|
"tslint": "~6.0.0",
|
|
"typescript": "~3.7.5"
|
|
}
|
|
}
|