diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-09-15 20:49:40 +0400 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-09-15 20:49:40 +0400 |
commit | 2fe609a3441a41b43b8171b3d2136c546a8e8c3e (patch) | |
tree | 67d193d215bae0dd55acdc31483174e9a36db547 | |
parent | 26f386159418215f12517a953c8d27518b24cb91 (diff) |
browserify build command
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 1328f3f..be4bb22 100644 --- a/package.json +++ b/package.json @@ -66,8 +66,8 @@ "url": "git://github.com/feross/webtorrent.git" }, "scripts": { - "build": "browserify -s WebTorrent -r ./ | uglifyjs -c warnings=false -m > webtorrent.min.js", - "build-debug": "browserify -s WebTorrent -r ./ > webtorrent.debug.js", + "build": "browserify -s WebTorrent -e ./ | uglifyjs -c warnings=false -m > webtorrent.min.js", + "build-debug": "browserify -s WebTorrent -e ./ > webtorrent.debug.js", "size": "npm run build && cat webtorrent.min.js | gzip | wc -c", "start": "./bin/cmd.js", "test": "tape test/*.js" |