From cb05f43db1bc518407f0276294bbf7f3cc3d86e0 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 28 Oct 2014 18:38:21 -0700 Subject: [PATCH] don't bundle during prepublish --- bundle.sh | 4 ---- package.json | 1 - 2 files changed, 5 deletions(-) delete mode 100755 bundle.sh 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" -- 2.34.1