Skip to content

Commit 1f2f45b

Browse files
authored
add preinstall hook to allow only pnpm (#1488)
1 parent c78a860 commit 1f2f45b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"scripts": {
33
"dev": "vitepress",
44
"build": "vitepress build",
5-
"serve": "vitepress serve"
5+
"serve": "vitepress serve",
6+
"preinstall": "npx only-allow pnpm"
67
},
78
"dependencies": {
89
"@vue/repl": "^1.0.0",

0 commit comments

Comments
 (0)