From f5de5891c257524895fc787f6cc53b7962e66a1a Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Mon, 20 Oct 2014 20:18:03 -0400 Subject: [PATCH] use projects locally installed browserify --- scripts/make-dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-dist.sh b/scripts/make-dist.sh index 46eaeec..6b01c4b 100644 --- a/scripts/make-dist.sh +++ b/scripts/make-dist.sh @@ -4,7 +4,7 @@ node browser/build -s lib/Key,lib/SINKey,lib/SIN,util/util cd ../../ cp node_modules/bitcore/browser/bundle.js dist/bitcore.bundle.js echo "Building browser bundle for bitauth..." -browserify lib/bitauth.js -s bitauth -x buffertools -x bitcore -o dist/bitauth.bundle.js +node_modules/.bin/browserify lib/bitauth.js -s bitauth -x buffertools -x bitcore -o dist/bitauth.bundle.js echo "Minifying bitcore and bitauth..." node_modules/.bin/uglifyjs dist/bitcore.bundle.js dist/bitauth.bundle.js -o dist/bitauth.browser.min.js echo "Done!"