Skip to content

Commit 217957d

Browse files
committed
build: postinstall --> prepare
1 parent b90a409 commit 217957d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "unibest",
33
"version": "1.0.0",
4-
"description": "unibest - 最好用的 uniapp 开发框架",
54
"type": "commonjs",
5+
"description": "unibest - 最好用的 uniapp 开发框架",
66
"author": {
77
"name": "Burt",
88
"zhName": "菲鸽",
@@ -18,7 +18,6 @@
1818
"pnpm": ">=7.30"
1919
},
2020
"scripts": {
21-
"postinstall": "node ./shell/postinstall.js",
2221
"dev:app": "uni -p app",
2322
"dev:app-android": "uni -p app-android",
2423
"dev:app-ios": "uni -p app-ios",
@@ -53,7 +52,7 @@
5352
"build:quickapp-webview": "uni build -p quickapp-webview",
5453
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
5554
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
56-
"prepare": "husky install",
55+
"prepare": "husky install && node ./shell/postinstall.js",
5756
"type-check": "vue-tsc --noEmit"
5857
},
5958
"lint-staged": {

0 commit comments

Comments
 (0)