-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 8.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "team-dojo",
"version": "2.1.0-alpha1",
"private": true,
"description": "TeamDojo is a tool to skill your Teams",
"license": "Apache-2.0",
"scripts": {
"app:start": "./gradlew",
"backend:build-cache": "npm run backend:info && npm run backend:nohttp:test && npm run ci:e2e:package",
"backend:doc:test": "./gradlew javadoc -x webapp -x webapp_test",
"backend:info": "./gradlew -v",
"backend:nohttp:test": "./gradlew checkstyleNohttp -x webapp -x webapp_test",
"backend:start": "./gradlew -x webapp -x webapp_test",
"backend:unit:test": "./gradlew test integrationTest -x webapp -x webapp_test -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.com.iteratec.teamdojo=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
"build": "npm run webapp:prod --",
"build-watch": "concurrently 'npm run webapp:build:dev -- --watch' npm:backend:start",
"ci:backend:test": "npm run backend:info && npm run backend:doc:test && npm run backend:nohttp:test && npm run backend:unit:test -- -P$npm_package_config_default_environment",
"ci:e2e:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment -- -Pe2e -Denforcer.skip=true",
"postci:e2e:package": "cp build/libs/*.$npm_package_config_packaging e2e.$npm_package_config_packaging",
"ci:e2e:prepare": "npm run ci:e2e:prepare:docker",
"ci:e2e:prepare:docker": "npm run docker:db:up && npm run docker:others:up && docker ps -a",
"preci:e2e:server:start": "npm run docker:db:await --if-present && npm run docker:others:await --if-present",
"ci:e2e:server:start": "java -jar e2e.$npm_package_config_packaging --spring.profiles.active=e2e,$npm_package_config_default_environment -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.com.iteratec.teamdojo=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF --logging.level.org.springframework.web=ERROR",
"ci:e2e:teardown": "npm run ci:e2e:teardown:docker",
"ci:e2e:teardown:docker": "npm run docker:db:down --if-present && npm run docker:others:down && docker ps -a",
"ci:frontend:build": "npm run webapp:build:$npm_package_config_default_environment",
"ci:frontend:test": "npm run ci:frontend:build && npm test",
"clean-www": "rimraf build/resources/main/static/app/{src,build/}",
"cleanup": "rimraf build/resources/main/static/",
"docker:app:up": "docker-compose -f src/main/docker/app.yml up -d",
"docker:db:down": "docker-compose -f src/main/docker/postgresql.yml down -v --remove-orphans",
"docker:db:up": "docker-compose -f src/main/docker/postgresql.yml up -d",
"docker:jhipster-registry:down": "docker-compose -f src/main/docker/jhipster-registry.yml down -v --remove-orphans",
"docker:jhipster-registry:up": "docker-compose -f src/main/docker/jhipster-registry.yml up -d",
"docker:keycloak:down": "docker-compose -f src/main/docker/keycloak.yml down -v --remove-orphans",
"docker:keycloak:up": "docker-compose -f src/main/docker/keycloak.yml up -d",
"docker:others:await": "echo \"Waiting for keycloak to start\" && wait-on -t 180000 http-get://localhost:9080/auth/realms/jhipster && echo \"keycloak started\" || echo \"keycloak not running, make sure oauth2 server is running\" && echo \"Waiting for jhipster-registry to start\" && wait-on -t 180000 http-get://localhost:8761/management/health && echo \"jhipster-registry started\"",
"docker:others:down": "npm run docker:keycloak:down && npm run docker:jhipster-registry:down",
"predocker:others:up": "",
"docker:others:up": "npm run docker:keycloak:up && npm run docker:jhipster-registry:up",
"java:docker": "./gradlew bootJar -Pprod jibDockerBuild",
"java:docker:dev": "npm run java:docker -- -Pdev,webapp",
"java:docker:prod": "npm run java:docker -- -Pprod",
"java:jar": "./gradlew bootJar -x test -x integrationTest",
"java:jar:dev": "npm run java:jar -- -Pdev,webapp",
"java:jar:prod": "npm run java:jar -- -Pprod",
"java:war": "./gradlew bootWar -Pwar -x test -x integrationTest",
"java:war:dev": "npm run java:war -- -Pdev,webapp",
"java:war:prod": "npm run java:war -- -Pprod",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --config jest.conf.js",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"prettier:check": "prettier --check \"{,src/**/,webpack/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,java}\"",
"prettier:format": "prettier --write \"{,src/**/,webpack/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,java}\"",
"serve": "npm run start --",
"start": "ng serve --hmr",
"start-tls": "npm run webapp:dev-ssl",
"pretest": "npm run lint",
"test": "ng test --coverage --log-heap-usage -w=2",
"test:watch": "npm run test -- --watch",
"watch": "concurrently npm:start npm:backend:start",
"webapp:build": "npm run clean-www && npm run webapp:build:dev",
"webapp:build:dev": "ng build --configuration development",
"webapp:build:prod": "ng build --configuration production",
"webapp:dev": "ng serve",
"webapp:dev-ssl": "ng serve --ssl",
"webapp:dev-verbose": "ng serve --verbose",
"webapp:prod": "npm run clean-www && npm run webapp:build:prod",
"webapp:test": "npm run test --"
},
"config": {
"backend_port": "8080",
"default_environment": "prod",
"packaging": "jar"
},
"dependencies": {
"@angular/common": "13.3.1",
"@angular/compiler": "13.3.1",
"@angular/core": "13.3.1",
"@angular/forms": "13.3.1",
"@angular/localize": "13.3.1",
"@angular/platform-browser": "13.3.1",
"@angular/platform-browser-dynamic": "13.3.1",
"@angular/router": "13.3.1",
"@fortawesome/angular-fontawesome": "0.10.2",
"@fortawesome/fontawesome-free": "^6.1.1",
"@fortawesome/fontawesome-svg-core": "6.1.1",
"@fortawesome/free-solid-svg-icons": "6.1.1",
"@ibm/plex": "^6.0.0",
"@ng-bootstrap/ng-bootstrap": "12.0.1",
"@ngx-translate/core": "14.0.0",
"@ngx-translate/http-loader": "7.0.0",
"@popperjs/core": "2.11.5",
"bootstrap": "5.1.3",
"dayjs": "1.11.0",
"dompurify": "^2.3.8",
"moment": "^2.29.2",
"ngx-infinite-scroll": "13.0.1",
"ngx-markdown": "^13.1.0",
"ngx-webstorage": "9.0.0",
"rxjs": "7.5.5",
"simplebar": "^5.3.6",
"tslib": "2.3.1",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-builders/custom-webpack": "13.1.0",
"@angular-builders/jest": "13.0.3",
"@angular-devkit/build-angular": "13.3.1",
"@angular-eslint/eslint-plugin": "13.2.0",
"@angular/cli": "13.3.1",
"@angular/compiler-cli": "13.3.1",
"@angular/service-worker": "13.3.1",
"@types/dompurify": "^2.3.3",
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"browser-sync": "^2.24.1",
"browser-sync-webpack-plugin": "2.3.0",
"concurrently": "7.1.0",
"copy-webpack-plugin": "10.2.4",
"eslint": "8.12.0",
"eslint-config-prettier": "8.5.0",
"eslint-webpack-plugin": "3.1.1",
"folder-hash": "4.0.2",
"generator-jhipster": "^7.8.1",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-date-mock": "1.0.8",
"jest-junit": "13.1.0",
"jest-preset-angular": "11.1.1",
"jest-sonar-reporter": "2.0.0",
"lint-staged": "12.3.7",
"merge-jsons-webpack-plugin": "2.0.1",
"prettier": "2.6.2",
"prettier-plugin-java": "1.6.1",
"prettier-plugin-packagejson": "2.2.17",
"rimraf": "3.0.2",
"swagger-ui-dist": "4.10.3",
"ts-jest": "27.1.4",
"typescript": "4.6.3",
"wait-on": "6.0.1",
"webpack-bundle-analyzer": "4.5.0",
"webpack-merge": "5.8.0",
"webpack-notifier": "1.15.0"
},
"engines": {
"node": ">=16.14.0"
},
"cacheDirectories": [
"node_modules"
],
"jestSonar": {
"reportPath": "build/test-results/jest",
"reportFile": "TESTS-results-sonar.xml"
},
"overrides": {
"webpack": "5.71.0"
}
}