package.json 8 KB
Newer Older
Kevin Robert's avatar
Kevin Robert committed
1
2
{
  "name": "orientactive",
François-Xavier Lebastard's avatar
test    
François-Xavier Lebastard committed
3
  "version": "0.0.1-SNAPSHOT",
Kevin Robert's avatar
Kevin Robert committed
4
  "private": true,
5
  "description": "Description for orientactive",
Kevin Robert's avatar
Kevin Robert committed
6
  "license": "UNLICENSED",
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
  "scripts": {
    "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}\"",
    "lint": "vue-cli-service lint --no-fix",
    "lint:fix": "vue-cli-service lint",
    "cleanup": "rimraf target/classes/static/",
    "clean-www": "rimraf target/classes/static/app/{src,target/}",
    "start": "npm run webapp:dev",
    "start-tls": "npm run webapp:dev -- --env.tls",
    "serve": "npm run start",
    "build": "npm run webapp:prod",
    "jest": "jest --coverage --logHeapUsage --maxWorkers=2 --no-cache --config src/test/javascript/jest.conf.js",
    "jest:update": "npm run jest -- --updateSnapshot",
    "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-dev-server": "webpack serve",
    "webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js",
    "docker:db:up": "docker-compose -f src/main/docker/postgresql.yml up -d",
    "docker:db:down": "docker-compose -f src/main/docker/postgresql.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",
    "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.unantes.orientactive=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",
55
56
57
    "start-app": "docker-compose -f src/main/docker/app.yml up",
    "build:java": "./mvnw package -Pprod -DskipTests -Dskip.npm jib:dockerBuild",
    "java": "npm run build:java && npm run start-app",
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
    "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.unantes.orientactive=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:build": "npm run webapp:build:$npm_package_config_default_environment",
    "ci:frontend:test": "npm run ci:frontend:build && npm test"
  },
  "config": {
    "backend_port": "8080",
    "default_environment": "prod",
    "packaging": "jar"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 8"
Kevin Robert's avatar
Kevin Robert committed
75
76
  ],
  "dependencies": {
77
78
79
80
81
    "axios": "0.21.1",
    "dayjs": "1.10.4",
    "swagger-ui-dist": "3.45.0",
    "vue": "2.6.12",
    "vue-class-component": "7.2.6",
Kevin Robert's avatar
Kevin Robert committed
82
    "vue-cookie": "1.1.4",
83
    "vue-i18n": "8.24.1",
Kevin Robert's avatar
Kevin Robert committed
84
    "vue-infinite-loading": "2.4.5",
85
    "vue-meta": "^2.4.0",
86
87
88
89
90
    "vue-property-decorator": "9.1.2",
    "vue-router": "3.5.1",
    "vue2-filters": "0.12.0",
    "vuelidate": "0.7.6",
    "vuex": "3.6.2"
Kevin Robert's avatar
Kevin Robert committed
91
92
  },
  "devDependencies": {
93
    "@tailwindcss/line-clamp": "^0.2.0",
94
    "@tailwindcss/postcss7-compat": "^2.0.3",
95
96
97
98
99
100
101
102
103
104
105
106
107
    "@types/jest": "26.0.20",
    "@types/node": "14.14.35",
    "@types/sinon": "9.0.11",
    "@types/vuelidate": "0.7.14",
    "@typescript-eslint/eslint-plugin": "4.18.0",
    "@typescript-eslint/parser": "4.18.0",
    "@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.3",
    "autoprefixer": "10.2.5",
Kevin Robert's avatar
Kevin Robert committed
108
    "babel-core": "7.0.0-bridge.0",
109
110
111
112
113
    "browser-sync": "2.26.14",
    "browser-sync-webpack-plugin": "2.3.0",
    "concurrently": "6.0.0",
    "copy-webpack-plugin": "8.0.0",
    "css-loader": "5.1.3",
114
    "csso": "^4.2.0",
115
116
117
118
119
    "eslint": "7.22.0",
    "eslint-plugin-prettier": "3.3.1",
    "eslint-plugin-vue": "7.7.0",
    "file-loader": "6.2.0",
    "fork-ts-checker-webpack-plugin": "6.1.1",
Kevin Robert's avatar
Kevin Robert committed
120
    "friendly-errors-webpack-plugin": "1.7.0",
121
    "generator-jhipster": "7.0.0",
Kevin Robert's avatar
Kevin Robert committed
122
    "generator-jhipster-vuejs": "1.9.2",
123
124
125
126
    "html-webpack-plugin": "5.3.1",
    "husky": "4.3.8",
    "jest": "26.6.3",
    "jest-junit": "12.0.0",
Kevin Robert's avatar
Kevin Robert committed
127
128
129
    "jest-serializer-vue": "2.0.2",
    "jest-sonar-reporter": "2.0.0",
    "jest-vue-preprocessor": "1.7.1",
130
    "lint-staged": "10.5.4",
Kevin Robert's avatar
Kevin Robert committed
131
    "merge-jsons-webpack-plugin": "1.0.21",
132
133
    "mini-css-extract-plugin": "1.3.9",
    "node-notifier": "9.0.1",
Kevin Robert's avatar
Kevin Robert committed
134
    "numeral": "2.0.6",
135
136
137
    "optimize-css-assets-webpack-plugin": "5.0.4",
    "portfinder": "1.0.28",
    "postcss": "8.2.8",
138
    "postcss-csso": "^4.0.0",
139
140
141
142
143
144
    "postcss-import": "14.0.0",
    "postcss-loader": "5.2.0",
    "postcss-url": "10.1.1",
    "prettier": "2.2.1",
    "prettier-plugin-java": "1.0.2",
    "prettier-plugin-packagejson": "2.2.10",
Kevin Robert's avatar
Kevin Robert committed
145
    "rimraf": "3.0.2",
146
    "sinon": "9.2.4",
147
    "style-loader": "^1.1.4",
148
    "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.3",
149
    "tailwindcss-cli": "^0.1.2",
150
151
152
153
    "terser-webpack-plugin": "5.1.1",
    "ts-jest": "26.5.4",
    "ts-loader": "8.0.18",
    "tslib": "2.1.0",
Kevin Robert's avatar
Kevin Robert committed
154
155
156
    "tslint-config-prettier": "1.18.0",
    "tslint-eslint-rules": "5.4.0",
    "tslint-loader": "3.6.0",
157
158
159
160
161
162
163
164
165
166
167
168
    "typescript": "4.2.3",
    "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.26.2",
    "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.2"
Kevin Robert's avatar
Kevin Robert committed
169
170
  },
  "engines": {
171
172
    "node": ">=14.16.0",
    "npm": ">= 6.14.4"
Kevin Robert's avatar
Kevin Robert committed
173
  },
174
175
176
  "cacheDirectories": [
    "node_modules"
  ],
Kevin Robert's avatar
Kevin Robert committed
177
178
179
  "jestSonar": {
    "reportPath": "target/test-results/jest",
    "reportFile": "TESTS-results-sonar.xml"
180
  }
Kevin Robert's avatar
Kevin Robert committed
181
}