Browse Source

update package.json

luzhenxing 3 months ago
parent
commit
c3687f3d71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -26,7 +26,7 @@
     "commit": "czg",
     "dev": "NODE_ENV=dev pnpm vite --config vite.config.dev.ts",
     "preinstall": "npx only-allow pnpm",
-    "postinstall": "turbo run stub",
+    "postinstall": "pnpm -r run stub --if-present",
     "lint": "turbo run lint",
     "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
     "lint:prettier": "prettier --write .",