-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.65 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": "miaoji",
"type": "module",
"version": "1.0.0",
"private": true,
"packageManager": "[email protected]",
"description": "A simple blog implemented based on Github REST API, Issues, Labels, and Github Pages.",
"author": "xiaohuohumax",
"license": "MIT",
"keywords": [],
"scripts": {
"dev": "pnpm web dev",
"build": "pnpm api build && pnpm func-label build && pnpm util build && pnpm web build",
"postinstall": "simple-git-hooks",
"web": "pnpm --filter @xiaohuohumax/miaoji-web --",
"label": "pnpm --filter @xiaohuohumax/miaoji-label --",
"api": "pnpm --filter @xiaohuohumax/miaoji-api --",
"func-label": "pnpm --filter @xiaohuohumax/miaoji-func-label --",
"util": "pnpm --filter @xiaohuohumax/miaoji-util --",
"build:watch": "concurrently \"pnpm build:watch:api\" \"pnpm build:watch:func-label\" \"pnpm build:watch:util\"",
"build:watch:api": "pnpm api build:watch",
"build:watch:func-label": "pnpm func-label build:watch",
"build:watch:util": "pnpm util build:watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"commit": "pnpm build && pnpm lint:fix && git add . && cz"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"commitizen": "^4.3.1",
"concurrently": "^9.0.1",
"cz-git": "^1.9.4",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1"
},
"simple-git-hooks": {
"commit-msg": "pnpm commitlint --edit $1"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}