-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 7.97 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
{
"name": "jhipster",
"version": "0.0.1-SNAPSHOT",
"private": true,
"description": "Description for jhipster",
"license": "UNLICENSED",
"scripts": {
"prettier:check": "prettier --check \"{,src/**/,webpack/}*.{md,json,yml,html,js,ts,tsx,css,scss,java}\"",
"prettier:format": "prettier --write \"{,src/**/,webpack/}*.{md,json,yml,html,js,ts,tsx,css,scss,java}\"",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "npm run lint -- --fix",
"cleanup": "rimraf target/classes/static/",
"clean-www": "rimraf target/classes/static/app/{src,target/}",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --config jest.conf.js",
"jest:update": "npm run jest -- --updateSnapshot",
"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 --env stats=minimal",
"webapp:build:prod": "npm run webpack -- --config webpack/webpack.prod.js --progress=profile",
"webapp:dev": "npm run webpack-dev-server -- --config webpack/webpack.dev.js --inline --port=9060 --env stats=minimal",
"webapp:dev-verbose": "npm run webpack-dev-server -- --config webpack/webpack.dev.js --inline --port=9060 --progress=profile --env stats=normal",
"webapp:prod": "npm run clean-www && npm run webapp:build:prod",
"webapp:test": "npm run test",
"webpack-dev-server": "npm run webpack -- serve",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js",
"docker:db:up": "docker-compose -f src/main/docker/mariadb.yml up -d",
"docker:db:down": "docker-compose -f src/main/docker/mariadb.yml down -v --remove-orphans",
"docker:others:await": "",
"predocker:others:up": "",
"docker:others:up": "",
"docker:others:down": "",
"ci:e2e:prepare:docker": "npm run docker:db:up && npm run docker:others:up && docker ps -a",
"ci:e2e:prepare": "npm run ci:e2e:prepare:docker",
"ci:e2e:teardown:docker": "npm run docker:db:down --if-present && npm run docker:others:down && docker ps -a",
"ci:e2e:teardown": "npm run ci:e2e:teardown:docker",
"backend:info": "./mvnw -ntp enforcer:display-info --batch-mode",
"backend:doc:test": "./mvnw -ntp javadoc:javadoc --batch-mode",
"backend:nohttp:test": "./mvnw -ntp checkstyle:check --batch-mode",
"backend:start": "./mvnw -P-webapp",
"java:jar": "./mvnw -ntp verify -DskipTests --batch-mode",
"java:war": "./mvnw -ntp verify -DskipTests --batch-mode -Pwar",
"java:docker": "./mvnw -ntp verify -DskipTests jib:dockerBuild",
"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.com.mycompany.myapp=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
"java:jar:dev": "npm run java:jar -- -Pdev,webapp",
"java:jar:prod": "npm run java:jar -- -Pprod",
"java:war:dev": "npm run java:war -- -Pdev,webapp",
"java:war:prod": "npm run java:war -- -Pprod",
"java:docker:dev": "npm run java:docker -- -Pdev,webapp",
"java:docker:prod": "npm run java:docker -- -Pprod",
"ci:backend:test": "npm run backend:info && npm run backend:doc:test && npm run backend:nohttp:test && npm run backend:unit:test",
"ci:server:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment",
"ci:e2e:package": "npm run java:$npm_package_config_packaging:$npm_package_config_default_environment -- -Pe2e -Denforcer.skip=true",
"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.com.mycompany.myapp=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:frontend:test": "npm run webapp:build:$npm_package_config_default_environment && npm run test-ci"
},
"config": {
"backend_port": "8080",
"default_environment": "prod",
"packaging": "jar"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.35",
"@fortawesome/free-solid-svg-icons": "5.15.3",
"@fortawesome/react-fontawesome": "0.1.14",
"availity-reactstrap-validation": "2.7.1",
"axios": "0.21.1",
"bootstrap": "4.6.0",
"bootswatch": "4.6.0",
"dayjs": "1.10.4",
"loaders.css": "0.1.2",
"lodash": "4.17.21",
"path-browserify": "1.0.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-hot-loader": "4.13.0",
"react-jhipster": "0.15.0",
"react-loadable": "5.5.0",
"react-redux": "7.2.3",
"react-redux-loading-bar": "5.0.0",
"react-router-dom": "5.2.0",
"react-toastify": "7.0.3",
"react-transition-group": "4.4.1",
"reactstrap": "8.9.0",
"redux": "4.0.5",
"redux-devtools": "3.7.0",
"redux-devtools-dock-monitor": "1.2.0",
"redux-devtools-log-monitor": "2.1.0",
"redux-promise-middleware": "6.1.2",
"redux-thunk": "2.3.0",
"tslib": "2.1.0",
"uuid": "8.3.2"
},
"devDependencies": {
"@testing-library/react": "11.2.6",
"@types/jest": "26.0.22",
"@types/lodash": "4.14.168",
"@types/node": "14.14.37",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",
"@types/react-redux": "7.1.16",
"@types/react-router-dom": "5.1.7",
"@types/redux": "3.6.31",
"@types/webpack-env": "1.16.0",
"@typescript-eslint/eslint-plugin": "4.20.0",
"@typescript-eslint/parser": "4.20.0",
"autoprefixer": "10.2.5",
"browser-sync": "2.26.14",
"browser-sync-webpack-plugin": "2.3.0",
"cache-loader": "4.1.0",
"concurrently": "6.0.0",
"copy-webpack-plugin": "8.1.0",
"core-js": "3.10.0",
"cross-env": "7.0.3",
"css-loader": "5.2.0",
"eslint": "7.23.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-react": "7.23.1",
"eslint-webpack-plugin": "2.5.3",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "6.2.0",
"friendly-errors-webpack-plugin": "1.7.0",
"generator-jhipster": "7.0.1",
"html-webpack-plugin": "5.3.1",
"husky": "4.3.8",
"identity-obj-proxy": "3.0.0",
"jest": "26.6.3",
"jest-junit": "12.0.0",
"jest-sonar-reporter": "2.0.0",
"json-loader": "0.5.7",
"lint-staged": "10.5.4",
"mini-css-extract-plugin": "1.4.0",
"optimize-css-assets-webpack-plugin": "5.0.4",
"postcss-loader": "5.2.0",
"prettier": "2.2.1",
"prettier-plugin-java": "1.0.2",
"prettier-plugin-packagejson": "2.2.10",
"react-infinite-scroller": "1.2.4",
"redux-mock-store": "1.5.4",
"rimraf": "3.0.2",
"sass": "1.32.8",
"sass-loader": "11.0.1",
"simple-progress-webpack-plugin": "1.1.2",
"sinon": "10.0.0",
"source-map-loader": "2.0.1",
"sourcemap-istanbul-instrumenter-loader": "0.2.0",
"stripcomment-loader": "0.1.0",
"style-loader": "2.0.0",
"swagger-ui-dist": "3.46.0",
"terser-webpack-plugin": "5.1.1",
"thread-loader": "3.0.1",
"to-string-loader": "1.1.6",
"ts-jest": "26.5.4",
"ts-loader": "8.1.0",
"typescript": "4.2.3",
"wait-on": "5.3.0",
"webpack": "5.28.0",
"webpack-cli": "4.6.0",
"webpack-dev-server": "3.11.2",
"webpack-merge": "5.7.3",
"webpack-notifier": "1.13.0",
"workbox-webpack-plugin": "6.1.2"
},
"engines": {
"node": ">=14.16.0"
},
"cacheDirectories": [
"node_modules"
],
"jestSonar": {
"reportPath": "target/test-results/jest",
"reportFile": "TESTS-results-sonar.xml"
}
}