-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
48 lines (48 loc) · 4.18 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
{
"name": "digital-fuesim-manv",
"version": "0.7.1",
"type": "module",
"scripts": {
"build": "cd shared && npm run build && cd .. && concurrently \"cd frontend && npm run build\" \"cd backend && npm run build\"",
"build:deployment": "npm run licensing:all && cd shared && npm run build && cd .. && cd frontend && npm run build:deployment && cd ../backend && npm run build",
"start:all": "(cd frontend && npm run start) & (cd backend && npm run start)",
"cy:ci": "cd frontend && npm run cy:run",
"cy:install": "cd frontend && npm run cy:install",
"benchmark": "cd benchmark && npm run benchmark",
"install:all": "npm i && concurrently \"cd shared && npm i \" \"cd frontend && npm i \" \"cd backend && npm i \" \"cd benchmark && npm i \"",
"setup": "npm i && cd shared && npm i && npm run build && cd .. && concurrently \"cd frontend && npm i \" \"cd backend && npm i \" \"cd benchmark && npm i \"",
"setup:package-lock-only": "npm i --package-lock-only && cd shared && npm i --package-lock-only && cd ../frontend && npm i --package-lock-only && cd ../backend && npm i --package-lock-only && cd ../benchmark && npm i --package-lock-only",
"prune": "npm prune && cd shared && npm prune && cd ../frontend && npm prune && cd ../backend && npm prune",
"prune:deployment": "npm prune --omit=dev && cd shared && npm prune --omit=dev && cd ../backend && npm prune --omit=dev",
"deployment": "npm run setup:ci && npm run build:deployment && npm run prune:deployment",
"setup:ci": "npm ci && cd shared && npm ci && npm run build && cd ../frontend && npm ci && cd ../backend && npm ci",
"prettier": "cat .gitignore .prettierignore > .prettierignore-ci && prettier --ignore-path .prettierignore-ci --loglevel warn --write \"**/*\" --ignore-unknown",
"prettier:windows": "type .gitignore .prettierignore > .prettierignore-ci && prettier --ignore-path .prettierignore-ci --loglevel warn --write \"**/*\" --ignore-unknown",
"prettier:check": "cat .gitignore .prettierignore > .prettierignore-ci && prettier --ignore-path .prettierignore-ci --loglevel warn --check \"**/*\" --ignore-unknown",
"lint": "concurrently \"cd shared && npm run lint\" \"cd frontend && npm run lint\" \"cd backend && npm run lint\"",
"lint:fix": "concurrently \"cd shared && npm run lint:fix\" \"cd frontend && npm run lint:fix\" \"cd backend && npm run lint:fix\"",
"test:concurrently": "concurrently \"cd shared && npm run test\" \"cd frontend && npm run test\" \"cd backend && npm run test\"",
"test:migration": "cd backend && npm run test:migration",
"test": "cd shared && npm run test && cd ../frontend && npm run test && cd ../backend && npm run test",
"migration:run:prod": "cd backend && npm run migration:run:prod",
"merge-coverage": "mkdir coverage && cp backend/coverage/coverage-final.json coverage/backend.json && cp frontend/coverage/coverage-final.json coverage/frontend.json && cp shared/coverage/coverage-final.json coverage/shared.json && nyc merge coverage coverage/merged/coverage.json && nyc report -t coverage/merged --report-dir coverage/reports --reporter=html --reporter=cobertura --reporter=text --reporter=text-summary",
"licensing:third-party-licenses:json": "license-reporter --output frontend/src/assets/source-code/THIRD-PARTY-LICENSE-ACKNOWLEDGEMENTS.json",
"licensing:third-party-licenses:html": "node third-party-license-json-to-html.cjs",
"licensing:third-party-licenses": "npm-run-all -s -n -c licensing:third-party-licenses:json licensing:third-party-licenses:html",
"licensing:source-code-zip-file": "git archive --output=./frontend/src/assets/source-code/digital-fuesim-manv.zip --format=zip HEAD",
"licensing:all": "npm-run-all -s -n -c licensing:third-party-licenses licensing:source-code-zip-file"
},
"private": true,
"engines": {
"node": ">=18",
"npm": ">=8"
},
"devDependencies": {
"@weichwarenprojekt/license-reporter": "^0.4.1",
"concurrently": "^7.6.0",
"node-json2html": "^2.2.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.3"
}
}