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-02-06 10:32:10 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-02-06 10:32:10 +0400
commit76de2c488792126c5843a1dad919c596cff8e7bf (patch)
treeb49fb9981fcb57c892a3b90b5ba383aee6e4772e /package.json
parenta0589bdf19e53ca70144eb71ec960c54e7704a87 (diff)
add stylus for easier css (#25)
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 9 insertions, 4 deletions
diff --git a/package.json b/package.json
index 3cb276a..7d4059c 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,8 @@
"jquery": "~2.1.0",
"magnet-uri": "1.x",
"read-torrent": "~0.2.0",
- "speedometer": "~0.1.2"
+ "speedometer": "~0.1.2",
+ "stylus": "~0.42.2"
},
"devDependencies": {
"tape": "2.x",
@@ -58,9 +59,13 @@
"url": "git://github.com/feross/webtorrent.git"
},
"scripts": {
- "build": "browserify --debug index.js > chrome/bundle.js",
- "watch": "watchify index.js -o chrome/bundle.js -dv",
+ "build-css": "stylus css/main.styl -o chrome/ -c",
+ "build-js": "browserify --debug index.js > chrome/bundle.js",
+ "build": "npm run build-js && npm run build-css",
+ "watch-css": "stylus css/main.styl -o chrome/ -w",
+ "watch-js": "watchify index.js -o chrome/bundle.js -dv",
+ "watch": "npm run watch-js & npm run watch-css",
"start": "npm run build && ./bin/start.js",
"test": "tape test/*.js"
}
-}
+} \ No newline at end of file