We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3d05c6 commit 778936bCopy full SHA for 778936b
bundle.js
@@ -0,0 +1,13 @@
1
+var bitcoin = require('./src/index')
2
+
3
+var exports = {
4
+ BigInteger: require('bigi'),
5
+ ecurve: require('ecurve'),
6
+ secureRandom: require('secure-random')
7
+}
8
9
+for (var key in bitcoin) {
10
+ exports[key] = bitcoin[key]
11
12
13
+module.exports = exports
package.json
@@ -61,6 +61,7 @@
61
},
62
"scripts": {
63
"compile": "browserify ./src/index.js -s bitcoin | uglifyjs > bitcoinjs-min.js",
64
+ "compile-bundle": "browserify ./bundle.js -s bitcoin | uglifyjs > bitcoinjs-bundle-min.js",
65
"coverage": "istanbul cover _mocha -- test/*.js",
66
"coveralls": "npm run-script coverage && coveralls < coverage/lcov.info",
67
"integration": "mocha --reporter list test/integration/*.js",
0 commit comments