-
Notifications
You must be signed in to change notification settings - Fork 124
/
package.json
52 lines (52 loc) · 1.3 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
{
"name": "dida",
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=18.17.1"
},
"scripts": {
"bootstrap": "pnpm i",
"dev:fe": "pnpm -F frontend dev",
"dev:be": "pnpm -F backend start:dev",
"docker:be": "pnpm -F backend docker:start",
"build:fe": "pnpm -F frontend build",
"build": "turbo build",
"test": "pnpm -F frontend test && pnpm -F backend test && pnpm -F backend test:e2e",
"prepare": "simple-git-hooks",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"dep:up": "taze -Ir major"
},
"devDependencies": {
"@antfu/eslint-config": "^0.34.1",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/node": "^18.13.0",
"eslint": "^8.33.0",
"lint-staged": "^13.1.1",
"simple-git-hooks": "^2.8.1",
"taze": "^0.8.5",
"turbo": "^1.7.4",
"typescript": "^4.9.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged",
"commit-msg": "pnpm exec commitlint --edit \"${1}\""
},
"lint-staged": {
"*.{js,ts,json,md,jsx,tsx,vue,yml,yaml}": [
"eslint --fix"
]
},
"eslintConfig": {
"extends": "@antfu"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}