Skip to content

Commit ec14813

Browse files
committed
build: add prepare script to ensure installed the git hooks
1 parent 22aa4e2 commit ec14813

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"preview": true,
99
"author": {
1010
"name": "YuTengjing",
11-
"url": "https://github.com/tjx666",
12-
"email": "ytj2713151713@gmail.com"
11+
"email": "ytj2713151713@gmail.com",
12+
"url": "https://github.com/tjx666"
1313
},
1414
"license": "SEE LICENSE IN LICENSE",
1515
"homepage": "https://github.com/tjx666/awesome-vscode-extension-boilerplate/blob/master/README.md",
@@ -69,6 +69,7 @@
6969
"vscode:prepublish": "pnpm esbuild:base --minify",
7070
"preinstall": "npx only-allow pnpm",
7171
"postinstall": "stale-dep -u",
72+
"prepare": "simple-git-hooks",
7273
"clean": "npx rimraf -rf ./out",
7374
"esbuild:base": "stale-dep && tsx scripts/esbuild.ts",
7475
"esbuild:watch": "pnpm esbuild:base --sourcemap --watch",

0 commit comments

Comments
 (0)