-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
166 lines (166 loc) · 8.25 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
{
"name": "todo-demo",
"version": "0.0.1-SNAPSHOT",
"private": false,
"description": "Demonstration project for Geekle Architecture Summit",
"license": "MIT",
"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",
"lint:fix": "npm run lint -- --fix",
"cleanup": "rimraf target/classes/static/",
"clean-www": "rimraf target/classes/static/app/{src,target/}",
"e2e": "npm run e2e:cypress",
"pree2e:headless": "npm run ci:server:await",
"e2e:headless": "npm run e2e:cypress:headless",
"e2e:cypress:headless": "npm run e2e:cypress -- --headless",
"e2e:cypress": "cypress run --browser chrome --record ${CYPRESS_ENABLE_RECORD:-false}",
"e2e:cypress:ff": "cypress run --browser firefox --record ${CYPRESS_ENABLE_RECORD:-false}",
"cypress": "cypress open",
"jest": "echo 'Problem with jest and ES Modules and TS - something to think about'",
"start": "ng serve --hmr",
"start-tls": "npm run webapp:dev -- --env.tls",
"serve": "npm run start",
"build": "npm run webapp:prod",
"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-verbose": "ng serve --verbose",
"webapp:prod": "npm run clean-www && npm run webapp:build:prod",
"webapp:test": "npm run test",
"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",
"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.io.gbloch.tododemo=OFF -Dlogging.level.org.springframework=OFF -Dlogging.level.org.springframework.web=OFF -Dlogging.level.org.springframework.security=OFF",
"backend:build-cache": "./mvnw dependency:go-offline",
"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.io.gbloch.tododemo=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: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:e2e:run": "concurrently -k -s first \"npm run ci:e2e:server:start\" \"npm run e2e:headless\"",
"e2e:dev": "concurrently -k -s first \"./mvnw\" \"npm run e2e\"",
"ci:frontend:build": "npm run webapp:build:$npm_package_config_default_environment",
"ci:frontend:test": "npm run ci:frontend:build && npm test",
"cypress:audits": "cypress open --config-file cypress-audits.json",
"e2e:cypress:audits:headless": "npm run e2e:cypress -- --headless --config-file cypress-audits.json",
"e2e:cypress:audits": "cypress run --browser chrome --record ${CYPRESS_ENABLE_RECORD:-false} --config-file cypress-audits.json",
"clean-coverage": "rimraf .nyc_output coverage",
"pree2e:cypress:coverage": "npm run clean coverage && npm run ci:server:await",
"e2e:cypress:coverage": "npm run e2e:cypress",
"poste2e:cypress:coverage": "nyc report",
"prewebapp:instrumenter": "npm run clean-www && npm run clean-coverage",
"webapp:instrumenter": "ng build --configuration instrumenter"
},
"config": {
"backend_port": "8080",
"default_environment": "prod",
"packaging": "jar"
},
"dependencies": {
"@angular/common": "12.0.5",
"@angular/compiler": "12.0.5",
"@angular/core": "12.0.5",
"@angular/forms": "12.0.5",
"@angular/localize": "12.1.1",
"@angular/platform-browser": "12.0.5",
"@angular/platform-browser-dynamic": "12.0.5",
"@angular/router": "12.0.5",
"@fortawesome/angular-fontawesome": "0.9.0",
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@ng-bootstrap/ng-bootstrap": "9.1.3",
"@ngx-translate/core": "13.0.0",
"@ngx-translate/http-loader": "6.0.0",
"bootstrap": "4.6.2",
"dayjs": "1.11.7",
"ngx-infinite-scroll": "10.0.1",
"ngx-webstorage": "8.0.0",
"rxjs": "6.6.7",
"swagger-ui-dist": "3.50.0",
"tslib": "2.3.0",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-builders/custom-webpack": "12.1.0",
"@angular-builders/jest": "12.1.0",
"@angular-eslint/eslint-plugin": "12.1.0",
"@angular/cli": "12.0.4",
"@angular/compiler-cli": "12.0.5",
"@angular/service-worker": "12.0.5",
"@cypress/code-coverage": "3.9.6",
"@types/jest": "26.0.23",
"@types/node": "15.12.2",
"@typescript-eslint/eslint-plugin": "4.27.0",
"@typescript-eslint/parser": "4.27.0",
"babel-loader": "8.2.2",
"babel-plugin-istanbul": "6.0.0",
"browser-sync": "2.26.14",
"browser-sync-webpack-plugin": "2.3.0",
"concurrently": "6.2.0",
"copy-webpack-plugin": "9.0.0",
"cypress": "7.5.0",
"cypress-audit": "1.0.0",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-webpack-plugin": "2.5.4",
"generator-jhipster": "7.1.0",
"husky": "4.3.8",
"jest": "27.0.4",
"jest-date-mock": "1.0.8",
"jest-junit": "12.2.0",
"jest-sonar-reporter": "2.0.0",
"lighthouse": "8.0.0",
"lint-staged": "11.0.0",
"merge-jsons-webpack-plugin": "1.0.21",
"nyc": "15.1.0",
"prettier": "2.3.1",
"prettier-plugin-java": "1.2.0",
"prettier-plugin-packagejson": "2.2.11",
"rimraf": "3.0.2",
"ts-jest": "27.0.3",
"typescript": "4.2.4",
"wait-on": "5.3.0",
"webpack-bundle-analyzer": "4.4.2",
"webpack-merge": "5.8.0",
"webpack-notifier": "1.13.0"
},
"engines": {
"node": ">=14.17.1"
},
"cacheDirectories": [
"node_modules"
],
"jestSonar": {
"reportPath": "target/test-results/jest",
"reportFile": "TESTS-results-sonar.xml"
}
}