-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
162 lines (162 loc) · 7.9 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": "ea-design-it",
"version": "0.0.0",
"private": true,
"description": "Description for EA Design It",
"license": "UNLICENSED",
"scripts": {
"app:start": "./mvnw",
"app:up": "docker compose -f src/main/docker/app.yml up --wait",
"backend:build-cache": "./mvnw dependency:go-offline",
"backend:debug": "./mvnw -Dspring-boot.run.jvmArguments=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000\"",
"backend:doc:test": "./mvnw -ntp javadoc:javadoc --batch-mode",
"backend:info": "./mvnw -ntp enforcer:display-info --batch-mode",
"backend:nohttp:test": "./mvnw -ntp checkstyle:check --batch-mode",
"backend:start": "./mvnw -Dskip.installnodenpm -Dskip.npm",
"backend:unit:test": "./mvnw -ntp -Dskip.installnodenpm -Dskip.npm verify --batch-mode -Dlogging.level.ROOT=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.com.mauvaisetroupe.eadesignit=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",
"ci:e2e:prepare": "npm run ci:e2e:prepare:docker",
"ci:e2e:prepare:docker": "npm run services:up --if-present && docker ps -a",
"ci:e2e:run": "concurrently -k -s first \"npm run ci:e2e:server:start\" \"npm run e2e:headless\"",
"preci:e2e:server:start": "npm run services:db:await --if-present && npm run services:others:await --if-present",
"ci:e2e:server:start": "java -jar target/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.com.mauvaisetroupe.eadesignit=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:$npm_package_config_backend_port/management/health && echo \"Server at port $npm_package_config_backend_port started\"",
"clean-www": "rimraf target/classes/static/",
"cleanup": "rimraf target/",
"cypress": "cypress open --e2e",
"cypress:audits": "cypress open --e2e --config-file cypress-audits.config.js",
"docker:db:down": "docker compose -f src/main/docker/postgresql.yml down -v",
"docker:db:up": "docker compose -f src/main/docker/postgresql.yml up --wait",
"e2e": "npm run e2e:cypress:headed --",
"e2e:cypress": "cypress run --e2e --browser chrome",
"e2e:cypress:audits": "cypress run --e2e --browser chrome --config-file cypress-audits.config.js",
"e2e:cypress:audits:headless": "npm run e2e:cypress -- --config-file cypress-audits.config.js",
"e2e:cypress:headed": "npm run e2e:cypress -- --headed",
"e2e:cypress:record": "npm run e2e:cypress -- --record",
"e2e:dev": "concurrently -k -s first \"./mvnw\" \"npm run e2e\"",
"e2e:devserver": "concurrently -k -s first \"npm run backend:start\" \"npm start\" \"wait-on -t 180000 http-get://127.0.0.1:9000 && npm run e2e:headless -- -c baseUrl=http://localhost:9000\"",
"pree2e:headless": "npm run ci:server:await",
"e2e:headless": "npm run e2e:cypress --",
"java:docker": "./mvnw -ntp verify -DskipTests -Pprod jib:dockerBuild",
"java:docker:arm64": "npm run java:docker -- -Djib-maven-plugin.architecture=arm64",
"java:docker:dev": "npm run java:docker -- -Pdev,webapp",
"java:docker:prod": "npm run java:docker -- -Pprod",
"java:jar": "./mvnw -ntp verify -DskipTests --batch-mode",
"java:jar:dev": "npm run java:jar -- -Pdev,webapp",
"java:jar:prod": "npm run java:jar -- -Pprod",
"java:war": "./mvnw -ntp verify -DskipTests --batch-mode -Pwar",
"java:war:dev": "npm run java:war -- -Pdev,webapp",
"java:war:prod": "npm run java:war -- -Pprod",
"lint": "eslint . --ext .ts,.vue ",
"lint:fix": "eslint . --ext .ts,.vue --fix",
"prepare": "husky install",
"prettier:check": "prettier --check \"{,src/**/,.blueprint/**/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,vue,java}\"",
"prettier:format": "prettier --write \"{,src/**/,.blueprint/**/}*.{md,json,yml,html,cjs,mjs,js,ts,tsx,css,scss,vue,java}\"",
"serve": "npm run start --",
"services:up": "docker compose -f src/main/docker/services.yml up --wait",
"start": "npm run webapp:dev --",
"start-tls": "npm run webapp:dev -- --env.tls",
"pretest": "npm run lint",
"test": "npm run vitest-run --",
"test:watch": "npm run vitest",
"vite-build": "vite build",
"vite-serve": "vite",
"vitest": "vitest",
"vitest-run": "vitest --run --coverage",
"watch": "concurrently npm:start npm:backend:start",
"webapp:build": "npm run clean-www && npm run webapp:build:dev --",
"webapp:build:dev": "npm run vite-build",
"webapp:build:prod": "npm run vite-build",
"webapp:prod": "npm run clean-www && npm run webapp:build:prod --",
"webapp:serve": "npm run vite-serve",
"webapp:test": "npm run test --"
},
"config": {
"backend_port": 8080,
"default_environment": "prod",
"packaging": "jar"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "6.4.2",
"@fortawesome/free-solid-svg-icons": "6.4.2",
"@fortawesome/vue-fontawesome": "3.0.3",
"@vue/compat": "3.3.4",
"@vuelidate/core": "2.0.3",
"@vuelidate/validators": "2.0.4",
"@vueuse/core": "10.5.0",
"axios": "1.5.1",
"bootstrap": "4.6.2",
"bootstrap-vue": "2.23.1",
"dayjs": "1.11.10",
"pinia": "2.1.6",
"vue": "3.3.4",
"vue-router": "4.2.5"
},
"devDependencies": {
"@pinia/testing": "0.1.3",
"@rushstack/eslint-patch": "1.5.1",
"@tsconfig/node18": "18.2.2",
"@types/jest": "^29.5.6",
"@types/node": "18.18.5",
"@types/sinon": "10.0.19",
"@vitejs/plugin-vue": "4.4.0",
"@vitest/coverage-v8": "0.34.6",
"@vue/compiler-sfc": "3.3.4",
"@vue/eslint-config-prettier": "8.0.0",
"@vue/eslint-config-typescript": "10.0.0",
"@vue/test-utils": "2.4.1",
"@vue/tsconfig": "0.4.0",
"autoprefixer": "10.4.16",
"axios-mock-adapter": "1.22.0",
"concurrently": "8.2.1",
"cypress": "13.3.1",
"cypress-audit": "1.1.0",
"eslint": "8.51.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-vue": "8.7.1",
"flush-promises": "1.0.2",
"generator-jhipster": "8.0.0-rc.1",
"happy-dom": "12.9.1",
"husky": "8.0.3",
"jest": "^29.7.0",
"lighthouse": "11.2.0",
"lint-staged": "14.0.1",
"numeral": "2.0.6",
"postcss-import": "15.1.0",
"postcss-url": "10.1.3",
"prettier": "3.0.3",
"prettier-plugin-java": "2.3.1",
"prettier-plugin-packagejson": "2.4.6",
"rimraf": "5.0.5",
"rollup-plugin-copy": "3.5.0",
"sass": "1.69.3",
"sinon": "16.1.0",
"swagger-ui-dist": "5.9.0",
"ts-jest": "^29.1.1",
"typescript": "5.2.2",
"vite": "4.4.11",
"vitest": "0.34.6",
"vitest-sonar-reporter": "0.4.1",
"wait-on": "7.0.1"
},
"engines": {
"node": ">=18.18.1",
"npm": ">= 6.14.4"
},
"cacheDirectories": [
"node_modules"
]
}