-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 7.41 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
{
"name": "msa-excample",
"version": "0.0.1-SNAPSHOT",
"private": true,
"description": "Description for Msa Excample",
"license": "UNLICENSED",
"type": "commonjs",
"scripts": {
"app:start": "./gradlew",
"app:up": "docker compose -f src/main/docker/app.yml up --wait",
"backend:build-cache": "npm run backend:info && npm run backend:nohttp:test && npm run ci:e2e:package -- -x webapp -x webapp_test",
"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.tech.jhipster=OFF -Dlogging.level.edu.nextstep.msa=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 services:up --if-present && docker ps -a",
"preci:e2e:server:start": "npm run services:db:await --if-present && npm run services: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.tech.jhipster=OFF -Dlogging.level.edu.nextstep.msa=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 --if-present",
"ci:e2e:teardown:docker": "docker compose -f src/main/docker/services.yml down -v && 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",
"ci:server:await": "echo \"Waiting for server at port $npm_package_config_backend_port to start\" && wait-on -t 180000 http-get://127.0.0.1:8080/services/msaexcample/management/health/readiness && echo \"Server at port $npm_package_config_backend_port started\"",
"clean-www": "rimraf build/resources/main/static/",
"cleanup": "rimraf build/",
"docker:consul:down": "docker compose -f src/main/docker/consul.yml down -v",
"docker:consul:up": "docker compose -f src/main/docker/consul.yml up --wait",
"docker:db:down": "docker compose -f src/main/docker/mariadb.yml down -v",
"docker:db:up": "docker compose -f src/main/docker/mariadb.yml up --wait",
"java:docker": "./gradlew bootJar -Pprod jibDockerBuild",
"java:docker:arm64": "npm run java:docker -- -PjibArchitecture=arm64",
"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 .",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky",
"prettier:check": "prettier --check \"{,src/**/,webpack/,.blueprint/**/}*.{md,json,yml,js,cjs,mjs,ts,cts,mts,java,html,css,scss}\"",
"prettier:format": "prettier --write \"{,src/**/,webpack/,.blueprint/**/}*.{md,json,yml,js,cjs,mjs,ts,cts,mts,java,html,css,scss}\"",
"serve": "npm run start --",
"services:up": "docker compose -f src/main/docker/services.yml up --wait",
"start": "ng serve",
"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": "18.2.5",
"@angular/compiler": "18.2.5",
"@angular/core": "18.2.5",
"@angular/forms": "18.2.5",
"@angular/localize": "18.2.5",
"@angular/platform-browser": "18.2.5",
"@angular/platform-browser-dynamic": "18.2.5",
"@angular/router": "18.2.5",
"@fortawesome/angular-fontawesome": "0.15.0",
"@fortawesome/fontawesome-svg-core": "6.6.0",
"@fortawesome/free-solid-svg-icons": "6.6.0",
"@ng-bootstrap/ng-bootstrap": "17.0.1",
"@ngx-translate/core": "15.0.0",
"@ngx-translate/http-loader": "8.0.0",
"@popperjs/core": "2.11.8",
"bootstrap": "5.3.3",
"dayjs": "1.11.13",
"ngx-infinite-scroll": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.7.0",
"zone.js": "0.14.10"
},
"devDependencies": {
"@angular-architects/module-federation": "18.0.4",
"@angular-builders/custom-webpack": "18.0.0",
"@angular-builders/jest": "18.0.0",
"@angular-devkit/build-angular": "18.2.5",
"@angular/cli": "18.2.5",
"@angular/compiler-cli": "18.2.5",
"@angular/service-worker": "18.2.5",
"@types/jest": "29.5.13",
"@types/node": "20.11.25",
"angular-eslint": "18.3.1",
"browser-sync": "3.0.2",
"browser-sync-webpack-plugin": "2.3.0",
"buffer": "6.0.3",
"concurrently": "9.0.1",
"copy-webpack-plugin": "12.0.2",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-webpack-plugin": "4.2.0",
"folder-hash": "4.0.4",
"generator-jhipster": "8.7.1",
"globals": "15.9.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-date-mock": "1.0.10",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-preset-angular": "14.2.4",
"jest-sonar": "0.2.16",
"lint-staged": "15.2.10",
"merge-jsons-webpack-plugin": "2.0.1",
"prettier": "3.3.3",
"prettier-plugin-java": "2.6.4",
"prettier-plugin-packagejson": "2.5.2",
"rimraf": "5.0.8",
"swagger-ui-dist": "5.17.14",
"ts-jest": "29.2.5",
"typescript": "5.5.4",
"typescript-eslint": "8.6.0",
"wait-on": "8.0.1",
"webpack-bundle-analyzer": "4.10.2",
"webpack-merge": "6.0.1",
"webpack-notifier": "1.15.0"
},
"engines": {
"node": ">=20.17.0"
},
"cacheDirectories": [
"node_modules"
],
"overrides": {
"browser-sync": "3.0.2",
"webpack": "5.94.0"
}
}