Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-01-25 12:01:10 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-01-25 12:01:10 +0400
commit3b058bc360de477a90a5f3b1442e1814a9de5c0e (patch)
tree285af10d849bbdbfbe06225e2c71339306106bd1 /package.json
parent6cead333356920d61c18c5683ff086b94adf5fff (diff)
add super useful `npm run watch` command!
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index caa1d7a..3aeb96b 100644
--- a/package.json
+++ b/package.json
@@ -17,12 +17,13 @@
},
"devDependencies": {
"tape": "2.x",
+ "nodemon": "~1.0.13"
},
"scripts": {
- "test": "tape test/*.js",
"build": "browserify --debug index.js > chrome/bundle.js",
- "app": "\"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary\" --load-and-launch-app=chrome",
- "start": "npm run build && npm run app"
+ "watch": "watchify --debug index.js -o chrome/bundle.js & nodemon -w chrome/bundle.js ./bin/start.js",
+ "start": "npm run build && ./bin/start.js",
+ "test": "tape test/*.js"
},
"repository": {
"type": "git",