77 lines
3.1 KiB
JSON
77 lines
3.1 KiB
JSON
{
|
|
"name": "uva-covid19-testing-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,BASE_HREF,DEPLOY_URL,PORT0,GOOGLE_ANALYTICS_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": "~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",
|
|
"@angular/flex-layout": "^9.0.0-beta.31",
|
|
"@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",
|
|
"@ngx-formly/core": "^5.8.0",
|
|
"@ngx-formly/material": "^5.8.0",
|
|
"bwip-js": "^2.0.11",
|
|
"chart.js": "^2.9.4",
|
|
"chartjs-plugin-datalabels": "^0.7.0",
|
|
"code-128-encoder": "^3.1.1",
|
|
"lodash.isequal": "^4.5.0",
|
|
"ng2-charts": "^2.4.2",
|
|
"ngx-qrcode-svg": "^2.0.0",
|
|
"rfdc": "^1.1.4",
|
|
"rxjs": "~6.6.3",
|
|
"serialize-javascript": "^5.0.1",
|
|
"tslib": "^2.0.0",
|
|
"zone.js": "~0.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "^0.1101.1",
|
|
"@angular/cli": "^10.1.2",
|
|
"@angular/compiler-cli": "~11.0.0-next.2",
|
|
"@angular/language-service": "~11.0.0-next.2",
|
|
"@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": "~5.0.0",
|
|
"karma": "~5.0.0",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
|
"karma-jasmine": "~4.0.0",
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
|
"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.1.0",
|
|
"typescript": "~4.0.3"
|
|
}
|
|
}
|