]> zoso.dev Git - buffer.git/commitdiff
don't bundle during prepublish
authorFeross Aboukhadijeh <feross@feross.org>
Wed, 29 Oct 2014 01:38:21 +0000 (18:38 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Wed, 29 Oct 2014 01:38:21 +0000 (18:38 -0700)
bundle.sh [deleted file]
package.json

diff --git a/bundle.sh b/bundle.sh
deleted file mode 100755 (executable)
index ce3fcf2..0000000
--- a/bundle.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-./node_modules/.bin/browserify --no-detect-globals -r ./ > bundle.js
-echo ';module.exports=require("./").Buffer;' >> bundle.js
index 8bafc030b6d2f38fa6a6c0297e47ba3eb8373b5c..2c16c7814eafb3d9c20b7106beebfd59522f8140 100644 (file)
@@ -43,7 +43,6 @@
   },
   "scripts": {
     "test": "tape test/*.js && OBJECT_IMPL=true tape test/*.js",
-    "prepublish": "./bundle.sh",
     "perf": "cd perf && browserify --debug readUInt32BE.js > bundle.js && open index.html",
     "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
     "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c"