Преглед изворни кода

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",
     "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
     "docs:dev": "vitepress dev docs",
     "docs:dev": "vitepress dev docs",
     "docs:build": "vitepress build docs",
     "docs:build": "vitepress build docs",
-    "docs:serve": "vitepress serve docs"
+    "docs:serve": "vitepress serve docs",
+    "postinstall": "cd playground && pnpm install"
   },
   },
   "peerDependencies": {
   "peerDependencies": {
     "three": "latest",
     "three": "latest",