70 lines
2.8 KiB
JSON
70 lines
2.8 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",
|
|
"lodash.isequal": "^4.5.0",
|
|
"rfdc": "^1.1.4",
|
|
"rxjs": "~6.5.4",
|
|
"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"
|
|
}
|
|
}
|