瀏覽代碼

Add postinstall to start

Noah 8 年之前
父節點
當前提交
dbbd6cb1a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package.json

+ 1 - 1
package.json 查看文件

@@ -4,7 +4,7 @@
4 4
   "description": "Turn audio into a shareable video.",
5 5
   "main": "index.js",
6 6
   "scripts": {
7
-    "start": "bin/server",
7
+    "start": "npm run postinstall && bin/server",
8 8
     "worker": "bin/worker",
9 9
     "postinstall": "mkdir -p editor/js && browserify client/index.js > editor/js/bundle.js",
10 10
     "rebuild": "npm run postinstall",