Browse Source

Add postinstall to start

Noah 8 years ago
parent
commit
dbbd6cb1a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json View File

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