Pārlūkot izejas kodu

Add postinstall to start

Noah 8 gadus atpakaļ
vecāks
revīzija
dbbd6cb1a1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      package.json

+ 1 - 1
package.json Parādīt failu

@@ -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",