2020-06-15 20:13:52 +00:00
|
|
|
{
|
|
|
|
"name": "cr-connect-frontend",
|
|
|
|
"version": "0.0.0",
|
2020-07-16 15:15:28 +00:00
|
|
|
"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"
|
|
|
|
},
|
2020-06-15 20:13:52 +00:00
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2020-07-16 15:15:28 +00:00
|
|
|
"@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",
|
2020-06-15 20:13:52 +00:00
|
|
|
"@ngx-progressbar/core": "^5.3.2",
|
2020-07-16 15:15:28 +00:00
|
|
|
"@sentry/browser": "^5.19.0",
|
2020-06-15 20:13:52 +00:00
|
|
|
"@yellowspot/ng-truncate": "^1.5.1",
|
|
|
|
"chart.js": "^2.9.3",
|
2020-08-03 14:37:02 +00:00
|
|
|
"highlight.js": "^9.18.1",
|
|
|
|
"lodash.isequal": "^4.5.0",
|
2020-07-16 15:15:28 +00:00
|
|
|
"ng2-charts": "^2.3.2",
|
|
|
|
"ngx-device-detector": "^1.4.5",
|
2020-06-15 20:13:52 +00:00
|
|
|
"ngx-file-drop": "^8.0.8",
|
2020-07-16 15:15:28 +00:00
|
|
|
"ngx-highlightjs": "4.1.0-beta",
|
|
|
|
"ngx-markdown": "^9.1.1",
|
2020-06-15 20:13:52 +00:00
|
|
|
"ngx-page-scroll": "^7.0.0",
|
|
|
|
"ngx-page-scroll-core": "^7.0.0",
|
|
|
|
"rfdc": "^1.1.4",
|
|
|
|
"rxjs": "~6.5.4",
|
2020-08-28 13:49:30 +00:00
|
|
|
"sartography-workflow-lib": "0.0.385",
|
2020-08-03 14:37:02 +00:00
|
|
|
"timeago.js": "^4.0.2",
|
2020-06-15 20:13:52 +00:00
|
|
|
"ts-md5": "^1.2.7",
|
2020-07-16 15:15:28 +00:00
|
|
|
"tslib": "^1.13.0",
|
|
|
|
"zone.js": "~0.10.3"
|
2020-06-15 20:13:52 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-16 15:15:28 +00:00
|
|
|
"@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",
|
2020-06-15 20:13:52 +00:00
|
|
|
"@types/jasminewd2": "~2.0.3",
|
2020-07-16 15:15:28 +00:00
|
|
|
"@types/node": "^12.12.47",
|
2020-06-15 20:13:52 +00:00
|
|
|
"codelyzer": "^5.1.2",
|
|
|
|
"jasmine-core": "~3.5.0",
|
|
|
|
"jasmine-spec-reporter": "~4.2.1",
|
2020-07-16 15:15:28 +00:00
|
|
|
"karma": "^5.1.0",
|
2020-06-15 20:13:52 +00:00
|
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
|
|
"karma-coverage-istanbul-reporter": "~2.1.1",
|
|
|
|
"karma-jasmine": "~3.1.1",
|
2020-07-16 15:15:28 +00:00
|
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
|
|
|
"lodash.get": "^4.4.2",
|
|
|
|
"lodash.set": "^4.3.2",
|
|
|
|
"protractor": "^7.0.0",
|
2020-06-15 20:13:52 +00:00
|
|
|
"protractor-http-client": "^1.0.4",
|
|
|
|
"sonar-scanner": "^3.1.0",
|
|
|
|
"ts-node": "~8.6.2",
|
|
|
|
"tslint": "~6.0.0",
|
|
|
|
"typescript": "~3.7.5"
|
|
|
|
}
|
|
|
|
}
|