-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
45 lines (45 loc) · 1.13 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
{
"name": "@simon_he/config",
"private": true,
"packageManager": "pnpm@6.35.1",
"description": "A directory-configuration related to oh my zsh",
"author": "Simon He",
"repository": {
"type": "git",
"url": "git+https://github.com/Simon-He95/directory-configuration.git"
},
"keywords": [
"simon",
"config"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"format": "prettier --write --cache .",
"lint": "eslint . --cache",
"lint:fix": "eslint . --fix --cache"
},
"dependencies": {
"vite": "^6.0.4"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.0",
"eslint": "^8.57.1",
"lint-staged": "^13.3.0",
"picocolors": "^1.1.1",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.11.1",
"tsx": "^3.14.0",
"typescript": "^4.9.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false",
"commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
],
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
}
}