-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
191 lines (191 loc) · 9.32 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "jhipster-control-center",
"version": "0.0.4-SNAPSHOT",
"private": true,
"description": "Description for jhipsterControlCenter",
"license": "UNLICENSED",
"scripts": {
"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:unit:test": "./mvnw -ntp -P-webapp verify --batch-mode -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.tech.jhipster.controlcenter=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
"build": "npm run webapp:prod",
"ci:backend:test": "npm run backend:info && npm run backend:doc:test && npm run backend:nohttp:test && npm run backend:unit:test",
"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 docker:db:up && npm run docker:others:up && 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 docker:db:await --if-present && npm run docker:others:await --if-present",
"ci:e2e:server:start": "java -jar target/e2e.$npm_package_config_packaging --spring.profiles.active=$npm_package_config_default_environment -Dlogging.level.ROOT=OFF -Dlogging.level.org.zalando=OFF -Dlogging.level.tech.jhipster=OFF -Dlogging.level.tech.jhipster.controlcenter=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",
"ci:server:await": "echo \"Waiting for server at port $npm_package_config_backend_port to start\" && wait-on http-get://localhost:$npm_package_config_backend_port/management/health && echo \"Server at port $npm_package_config_backend_port started\"",
"ci:server:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment",
"clean-www": "rimraf target/classes/static/app/{src,target/}",
"cleanup": "rimraf target/classes/static/",
"cypress": "cypress open",
"docker:consul:down": "docker-compose -f src/main/docker/consul.yml down -v --remove-orphans",
"docker:consul:up": "docker-compose -f src/main/docker/consul.yml up -d",
"docker:db:up": "echo \"Docker for db no not configured for application jhipsterControlCenter\"",
"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 jhipster-registry to start\" && wait-on http-get://localhost:8761/management/health && echo \"jhipster-registry started\"",
"docker:others:down": "npm run docker:keycloak:down && npm run docker:consul:down && npm run docker:jhipster-registry:down",
"predocker:others:up": "",
"docker:others:up": "npm run docker:keycloak:up && npm run docker:consul:up && npm run docker:jhipster-registry:up",
"e2e": "npm run e2e:cypress",
"e2e:cypress": "cypress run --browser chrome --record ${CYPRESS_ENABLE_RECORD:-false}",
"e2e:cypress:headless": "npm run e2e:cypress -- --headless",
"e2e:dev": "concurrently -k -s first \"./mvnw\" \"e2e:run\"",
"pree2e:headless": "npm run ci:server:await",
"e2e:headless": "npm run e2e:cypress:headless",
"java:docker": "./mvnw -ntp verify -DskipTests jib:dockerBuild",
"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",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --no-cache --config src/test/javascript/jest.conf.js",
"jest:update": "npm run jest -- --updateSnapshot",
"lint": "vue-cli-service lint --no-fix",
"lint:fix": "vue-cli-service lint",
"prettier:check": "prettier --check \"{,src/**/,webpack/}*.{md,json,yml,html,js,ts,tsx,css,scss,vue,java}\"",
"prettier:format": "prettier --write \"{,src/**/,webpack/}*.{md,json,yml,html,js,ts,tsx,css,scss,vue,java}\"",
"serve": "npm run start",
"start": "npm run webapp:dev",
"start-tls": "npm run webapp:dev -- --env.tls",
"pretest": "npm run lint",
"test": "npm run jest",
"test-ci": "npm run lint && npm run jest:update",
"test:watch": "npm run jest -- --watch",
"webapp:build": "npm run clean-www && npm run webapp:build:dev",
"webapp:build:dev": "npm run webpack -- --config webpack/webpack.dev.js --progress=profile --env stats=minimal",
"webapp:build:prod": "npm run webpack -- --config webpack/webpack.prod.js --progress=profile --env stats=minimal",
"webapp:dev": "npm run webpack-dev-server -- --config webpack/webpack.dev.js --progress=profile --inline --env stats=normal",
"webapp:prod": "npm run clean-www && npm run webapp:build:prod",
"webapp:test": "npm run test",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js",
"webpack-dev-server": "webpack serve"
},
"config": {
"backend_port": "7419",
"default_environment": "prod",
"packaging": "jar"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.34",
"@fortawesome/free-solid-svg-icons": "5.15.2",
"@fortawesome/vue-fontawesome": "2.0.2",
"axios": "0.21.1",
"bootstrap": "4.6.0",
"bootstrap-vue": "2.21.2",
"bootswatch": "4.6.0",
"dayjs": "1.10.4",
"swagger-ui-dist": "3.43.0",
"vue": "2.6.12",
"vue-class-component": "7.2.6",
"vue-cookie": "1.1.4",
"vue-i18n": "8.22.4",
"vue-infinite-loading": "2.4.5",
"vue-property-decorator": "9.1.2",
"vue-router": "3.5.1",
"vue2-filters": "0.12.0",
"vuelidate": "0.7.6",
"vuex": "3.6.2"
},
"devDependencies": {
"@types/jest": "26.0.20",
"@types/node": "14.14.31",
"@types/sinon": "9.0.10",
"@types/vuelidate": "0.7.13",
"@typescript-eslint/eslint-plugin": "4.15.1",
"@typescript-eslint/parser": "4.15.1",
"@vue/cli-plugin-eslint": "4.5.11",
"@vue/cli-plugin-typescript": "4.5.11",
"@vue/cli-service": "4.5.11",
"@vue/eslint-config-prettier": "6.0.0",
"@vue/eslint-config-typescript": "7.0.0",
"@vue/test-utils": "1.1.2",
"autoprefixer": "10.2.4",
"babel-core": "7.0.0-bridge.0",
"browser-sync": "2.26.14",
"browser-sync-webpack-plugin": "2.3.0",
"concurrently": "6.0.0",
"copy-webpack-plugin": "7.0.0",
"css-loader": "5.0.2",
"cypress": "6.5.0",
"eslint": "7.20.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-vue": "7.6.0",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "6.1.0",
"friendly-errors-webpack-plugin": "1.7.0",
"generator-jhipster": "7.0.0-beta.1",
"html-webpack-plugin": "5.2.0",
"husky": "4.3.8",
"jest": "26.6.3",
"jest-junit": "12.0.0",
"jest-serializer-vue": "2.0.2",
"jest-sonar-reporter": "2.0.0",
"jest-vue-preprocessor": "1.7.1",
"lint-staged": "10.5.4",
"merge-jsons-webpack-plugin": "1.0.21",
"mini-css-extract-plugin": "1.3.8",
"node-notifier": "9.0.0",
"numeral": "2.0.6",
"optimize-css-assets-webpack-plugin": "5.0.4",
"portfinder": "1.0.28",
"postcss": "8.2.6",
"postcss-import": "14.0.0",
"postcss-loader": "5.0.0",
"postcss-url": "10.1.1",
"prettier": "2.2.1",
"prettier-plugin-java": "1.0.1",
"rimraf": "3.0.2",
"sass": "1.32.8",
"sass-loader": "11.0.1",
"sinon": "9.2.4",
"terser-webpack-plugin": "5.1.1",
"ts-jest": "26.5.1",
"ts-loader": "8.0.17",
"tslib": "2.1.0",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tslint-loader": "3.6.0",
"typescript": "4.1.5",
"url-loader": "4.1.1",
"vue-jest": "3.0.7",
"vue-loader": "15.9.6",
"vue-template-compiler": "2.6.12",
"wait-on": "5.2.1",
"webpack": "5.23.0",
"webpack-bundle-analyzer": "4.4.0",
"webpack-cli": "4.5.0",
"webpack-dev-server": "3.11.2",
"webpack-merge": "5.7.3",
"workbox-webpack-plugin": "6.1.0"
},
"engines": {
"node": ">=14.15.0",
"npm": ">= 6.14.4"
},
"cacheDirectories": [
"node_modules"
],
"jestSonar": {
"reportPath": "target/test-results/jest",
"reportFile": "TESTS-results-sonar.xml"
}
}