2020-09-22 18:33:50 +00:00
|
|
|
{
|
2020-09-23 21:21:58 +00:00
|
|
|
"name": "covid19-testing-kiosk",
|
2020-09-22 18:33:50 +00:00
|
|
|
"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",
|
2020-09-23 21:21:58 +00:00
|
|
|
"env": "chmod +x ./docker/substitute-env-variables.sh && ./docker/substitute-env-variables.sh src/index.html PRODUCTION,API_URL,BASE_HREF,DEPLOY_URL,PORT0,GOOGLE_ANALYTICS_KEY,TITLE",
|
2020-09-22 18:33:50 +00:00
|
|
|
"ci": "npm run lint && npm run test:coverage && sonar-scanner && npm run env && npm run backend && npm run e2e"
|
|
|
|
},
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2020-09-23 02:33:07 +00:00
|
|
|
"@angular/animations": "~11.0.0-next.2",
|
|
|
|
"@angular/cdk": "^10.2.2",
|
|
|
|
"@angular/common": "~11.0.0-next.2",
|
|
|
|
"@angular/compiler": "~11.0.0-next.2",
|
|
|
|
"@angular/core": "~10.1.2",
|
2020-09-22 18:33:50 +00:00
|
|
|
"@angular/flex-layout": "^9.0.0-beta.31",
|
2020-09-23 02:33:07 +00:00
|
|
|
"@angular/forms": "~11.0.0-next.2",
|
|
|
|
"@angular/material": "^10.2.2",
|
|
|
|
"@angular/platform-browser": "~11.0.0-next.2",
|
|
|
|
"@angular/platform-browser-dynamic": "~11.0.0-next.2",
|
|
|
|
"@angular/router": "~11.0.0-next.2",
|
2020-09-22 18:33:50 +00:00
|
|
|
"@ngx-formly/core": "^5.8.0",
|
|
|
|
"@ngx-formly/material": "^5.8.0",
|
|
|
|
"lodash.isequal": "^4.5.0",
|
2020-09-23 02:33:07 +00:00
|
|
|
"ngx-qrcode-svg": "^2.0.0",
|
2020-09-22 18:33:50 +00:00
|
|
|
"rfdc": "^1.1.4",
|
2020-09-23 02:33:07 +00:00
|
|
|
"rxjs": "~6.6.3",
|
2020-09-23 17:09:00 +00:00
|
|
|
"serialize-javascript": "^5.0.1",
|
2020-09-23 02:33:07 +00:00
|
|
|
"tslib": "^2.0.0",
|
2020-09-22 18:33:50 +00:00
|
|
|
"zone.js": "~0.10.3"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-09-23 02:33:07 +00:00
|
|
|
"@angular-devkit/build-angular": "^0.1001.2",
|
|
|
|
"@angular/cli": "^10.1.2",
|
|
|
|
"@angular/compiler-cli": "~11.0.0-next.2",
|
|
|
|
"@angular/language-service": "~11.0.0-next.2",
|
2020-09-22 18:33:50 +00:00
|
|
|
"@types/jasmine": "^3.5.11",
|
|
|
|
"@types/jasminewd2": "~2.0.3",
|
|
|
|
"@types/node": "^12.12.47",
|
|
|
|
"codelyzer": "^5.1.2",
|
|
|
|
"jasmine-core": "~3.5.0",
|
2020-09-23 02:33:07 +00:00
|
|
|
"jasmine-spec-reporter": "~5.0.0",
|
|
|
|
"karma": "~5.0.0",
|
2020-09-22 18:33:50 +00:00
|
|
|
"karma-chrome-launcher": "~3.1.0",
|
2020-09-23 02:33:07 +00:00
|
|
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
|
|
|
"karma-jasmine": "~4.0.0",
|
|
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
2020-09-22 18:33:50 +00:00
|
|
|
"lodash.get": "^4.4.2",
|
|
|
|
"lodash.set": "^4.3.2",
|
2020-09-23 02:33:07 +00:00
|
|
|
"protractor": "~7.0.0",
|
2020-09-22 18:33:50 +00:00
|
|
|
"protractor-http-client": "^1.0.4",
|
|
|
|
"sonar-scanner": "^3.1.0",
|
|
|
|
"ts-node": "~8.6.2",
|
2020-09-23 02:33:07 +00:00
|
|
|
"tslint": "~6.1.0",
|
|
|
|
"typescript": "~4.0.3"
|
2020-09-22 18:33:50 +00:00
|
|
|
}
|
|
|
|
}
|