-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.42 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.42 KB
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
{
"name": "@edifice.io/rack",
"version": "1.0.0",
"private": true,
"description": "Demo application",
"author": "Edifice",
"license": "Proprietary License",
"type": "module",
"packageManager": "[email protected]",
"engines": {
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": ">=9.12.0",
"node": ">=22.16.0"
},
"scripts": {
"dev": "pnpm -r --parallel dev",
"dev:frontend": "pnpm --filter '*-frontend' dev",
"clean": "pnpm -r --parallel clean && rm -rf node_modules",
"clean:frontend": "pnpm --filter '*-frontend' clean",
"clean:client-rest": "pnpm --filter '*-client-rest' clean",
"build": "NO_POSTBUILD=1 pnpm -r build && pnpm run copy:static",
"build:prod": "NODE_ENV=production pnpm -r build:prod && pnpm run copy:static",
"build:frontend": "pnpm --filter '*-frontend' build",
"build:client-rest": "pnpm --filter '*-client-rest' build",
"copy:static": "rm -rf ./backend/src/main/resources/view && rm -rf ./backend/src/main/resources/public/* && mkdir -p ./backend/src/main/resources/view/ && cp -R ./backend/src/main/resources/view-src/* ./backend/src/main/resources/view/ && cp -R ./frontend/dist/* ./backend/src/main/resources/ && mv ./backend/src/main/resources/*.html ./backend/src/main/resources/view/",
"install:prod": "pnpm -r install",
"test:frontend": "pnpm --filter '*-frontend' test",
"lint": "pnpm -r lint",
"lint:fix": "pnpm -r lint:fix",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yaml,yml}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yaml,yml}\"",
"pre-commit": "lint-staged && pnpm run build",
"pre-push": "true",
"prepare": "[ \"$HUSKY\" = \"0\" ] || husky",
"prune:prod": "pnpm -r prune:prod && CI=true NPM_CONFIG_IGNORE_SCRIPTS=true pnpm prune --prod --production --loglevel verbose",
"docs:swagger:pdf": "generate-swagger-pdf --host=${SWAGGER_HOST:-127.0.0.1} --port=${SWAGGER_PORT:-3002}",
"docs:uml:generate": "rm -rf ./docs/output && docker compose run --rm plantuml -tsvg /workspace/docs/uml/**/* -o /workspace/docs/output",
"docs:uml:generate:macos": "rm -rf ./docs/output/* && plantuml -tsvg ./docs/uml/**/* -o ${PWD}/docs/output/",
"docs:uml:install:macos": "brew install plantuml",
"publish": "X_DOCKER_NPM_TOKEN=${NPM_TOKEN} edifice publish --dry-run=false --debug",
"publish:client-rest": "pnpm --filter *-client-rest run publish:all"
},
"devDependencies": {
"@commitlint/cli": "20.1.0",
"@commitlint/config-conventional": "20.0.0",
"cz-conventional-changelog": "3.3.0",
"@eslint/js": "9.35.0",
"@eslint/json": "0.13.2",
"@types/node": "22.16.0",
"eslint": "9.35.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.4",
"globals": "16.4.0",
"husky": "9.1.7",
"jiti": "2.6.1",
"lint-staged": "16.2.4",
"prettier": "3.6.2",
"typescript": "5.9.2",
"typescript-eslint": "8.43.0",
"vitest": "2.1.9",
"@vitest/ui": "2.1.9",
"@vitest/coverage-v8": "2.1.9"
},
"prettier": {
"singleQuote": false,
"semi": true,
"tabWidth": 2
},
"dependencies": {
"uuid": "11.1.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.2"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint --fix --no-warn-ignored"
],
"**/*": "prettier --write --ignore-unknown"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}