Added 'npm start' method
authorTomas Zeman <tzeman@volny.cz>
Sun, 15 Dec 2013 17:14:26 +0100
changeset 5 ed2abdd11a1b
parent 4 cbba85b1f677
child 6 5735254b6475
Added 'npm start' method
package.coffee
package.json
--- a/package.coffee	Sun Dec 15 17:11:37 2013 +0100
+++ b/package.coffee	Sun Dec 15 17:14:26 2013 +0100
@@ -8,6 +8,8 @@
     collections: "~0.2.0"
     q: "~0.9.7"
     'q-io': "~1.10.3"
+  scripts:
+    start: './node_modules/.bin/coffee server.coffee | ./node_modules/.bin/bunyan -o short'
        
 
 console.log JSON.stringify(p, null, "  ")
--- a/package.json	Sun Dec 15 17:11:37 2013 +0100
+++ b/package.json	Sun Dec 15 17:14:26 2013 +0100
@@ -8,5 +8,8 @@
     "collections": "~0.2.0",
     "q": "~0.9.7",
     "q-io": "~1.10.3"
+  },
+  "scripts": {
+    "start": "./node_modules/.bin/coffee server.coffee | ./node_modules/.bin/bunyan -o short"
   }
 }