build: postinstall --> prepare

This commit is contained in:
菲鸽 2024-02-04 16:08:00 +08:00
parent b90a409737
commit 217957dfd2

View File

@ -1,8 +1,8 @@
{ {
"name": "unibest", "name": "unibest",
"version": "1.0.0", "version": "1.0.0",
"description": "unibest - 最好用的 uniapp 开发框架",
"type": "commonjs", "type": "commonjs",
"description": "unibest - 最好用的 uniapp 开发框架",
"author": { "author": {
"name": "Burt", "name": "Burt",
"zhName": "菲鸽", "zhName": "菲鸽",
@ -18,7 +18,6 @@
"pnpm": ">=7.30" "pnpm": ">=7.30"
}, },
"scripts": { "scripts": {
"postinstall": "node ./shell/postinstall.js",
"dev:app": "uni -p app", "dev:app": "uni -p app",
"dev:app-android": "uni -p app-android", "dev:app-android": "uni -p app-android",
"dev:app-ios": "uni -p app-ios", "dev:app-ios": "uni -p app-ios",
@ -53,7 +52,7 @@
"build:quickapp-webview": "uni build -p quickapp-webview", "build:quickapp-webview": "uni build -p quickapp-webview",
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
"build:quickapp-webview-union": "uni build -p quickapp-webview-union", "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
"prepare": "husky install", "prepare": "husky install && node ./shell/postinstall.js",
"type-check": "vue-tsc --noEmit" "type-check": "vue-tsc --noEmit"
}, },
"lint-staged": { "lint-staged": {