Unverified Commit 834a9e03 authored by Aral Balkan's avatar Aral Balkan
Browse files

Make cake a postinstall task + use forever for npm start

  * Prepublish task was not being picked up at deployment.
parent 9e46b603
......@@ -12,8 +12,8 @@
"js"
],
"scripts": {
"start": "node js/server.js",
"prepublish": "cake clean && cake build",
"start": "node_modules/forever/bin/forever -w js/server.js",
"postinstall": "cake clean && cake build",
"test": "node_modules/.bin/mocha js/test/* --require should --reporter spec"
},
"dependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment