浏览代码

chore: playground auto install deps

alvarosabu 2 年之前
父节点
当前提交
2f564bbd1c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -50,7 +50,8 @@
     "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
     "docs:dev": "vitepress dev docs",
     "docs:build": "vitepress build docs",
-    "docs:serve": "vitepress serve docs"
+    "docs:serve": "vitepress serve docs",
+    "postinstall": "cd playground && pnpm install"
   },
   "peerDependencies": {
     "three": "latest",