summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json102
1 files changed, 102 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..b1e036e
--- /dev/null
+++ b/package.json
@@ -0,0 +1,102 @@
+{
+ "name": "frontend",
+ "version": "0.0.0",
+ "scripts": {
+ "openapi": "rm -rf ./openapi/output && bash ./openapi/openapi-generator-cli generate -i ./openapi/input/api.yaml -g typescript-angular -o ./openapi/output -c ./openapi/config.json",
+ "ng": "./node-modules/.bin/ng",
+ "prestart": "npm run openapi",
+ "start": "ng serve -- --proxy-config staging.proxy.config.json --host 0.0.0.0 --port 80 --disable-host-check",
+ "prebuild": "npm run openapi",
+ "build": "ng build",
+ "pretest": "npm run openapi",
+ "test": "ng test --browsers FirefoxHeadless",
+ "prelint": "npm run openapi",
+ "lint": "ng lint",
+ "pree2e": "npm run openapi",
+ "e2e": "ng e2e",
+ "compodoc": "compodoc -p tsconfig.json",
+ "compodoc-4200": "compodoc -p tsconfig.json -s -r 4200",
+ "sonar": "sonar-scanner",
+ "licences": "license-report --output=html > ./portal_ui_licences.html --config ./license-report-config.json"
+ },
+ "private": true,
+ "dependencies": {
+ "@angular/animations": "13.3.10",
+ "@angular/cdk": "13.3.8",
+ "@angular/common": "13.3.10",
+ "@angular/compiler": "13.3.10",
+ "@angular/core": "13.3.10",
+ "@angular/forms": "13.3.10",
+ "@angular/localize": "13.3.10",
+ "@angular/platform-browser": "13.3.10",
+ "@angular/platform-browser-dynamic": "13.3.10",
+ "@angular/router": "13.3.10",
+ "@ng-bootstrap/ng-bootstrap": "12.1.2",
+ "@ngx-translate/core": "13.0.0",
+ "@ngx-translate/http-loader": "6.0.0",
+ "@popperjs/core": "2.11.5",
+ "angular-oauth2-oidc": "12.1.0",
+ "bootstrap": "5.1.3",
+ "license-report": "5.0.2",
+ "lodash": "4.17.21",
+ "ng-bootstrap": "1.6.3",
+ "rxjs": "6.6.7",
+ "tslib": "2.2.0",
+ "zone.js": "0.11.5"
+ },
+ "devDependencies": {
+ "@angular-devkit/build-angular": "13.3.7",
+ "@angular-eslint/builder": "13.2.1",
+ "@angular-eslint/eslint-plugin": "13.2.1",
+ "@angular-eslint/eslint-plugin-template": "13.2.1",
+ "@angular-eslint/schematics": "13.2.1",
+ "@angular-eslint/template-parser": "13.2.1",
+ "@angular/cli": "13.3.7",
+ "@angular/compiler-cli": "13.3.10",
+ "@types/jasmine": "~3.6.0",
+ "@types/jasminewd2": "2.0.3",
+ "@types/lodash": "^4.14.188",
+ "@types/node": "16.0.0",
+ "@types/uuid": "^8.3.4",
+ "@typescript-eslint/eslint-plugin": "5.17.0",
+ "@typescript-eslint/parser": "5.17.0",
+ "eslint": "7.32.0",
+ "git-format-staged": "3.0.0",
+ "husky": "8.0.1",
+ "jasmine-core": "~4.0.0",
+ "jasmine-spec-reporter": "~7.0.0",
+ "karma": "6.3.20",
+ "karma-chrome-launcher": "3.1.1",
+ "karma-coverage": "2.2.0",
+ "karma-coverage-istanbul-reporter": "3.0.3",
+ "karma-firefox-launcher": "2.1.2",
+ "karma-jasmine": "4.0.2",
+ "karma-jasmine-html-reporter": "1.7.0",
+ "karma-sonarqube-unit-reporter": "0.0.23",
+ "karma-spec-reporter": "0.0.33",
+ "license-check-and-add": "4.0.5",
+ "license-checker": "25.0.1",
+ "lint-staged": "12.4.1",
+ "prettier": "2.6.2",
+ "protractor": "7.0.0",
+ "sonar-scanner": "3.1.0",
+ "ts-node": "10.0.0",
+ "typescript": "4.6.4"
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "lint-staged": {
+ "*.{js,ts}": [
+ "prettier --write .",
+ "eslint --fix",
+ "git add"
+ ],
+ "*.{html,css}": [
+ "prettier --write .",
+ "git add"
+ ]
+ }
+}