From: Feross Aboukhadijeh Date: Wed, 29 Oct 2014 01:38:21 +0000 (-0700) Subject: don't bundle during prepublish X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=cb05f43db1bc518407f0276294bbf7f3cc3d86e0;p=buffer.git don't bundle during prepublish --- diff --git a/bundle.sh b/bundle.sh deleted file mode 100755 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 diff --git a/package.json b/package.json index 8bafc03..2c16c78 100644 --- a/package.json +++ b/package.json @@ -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"