diff options
author | Ian Coleman <ian@iancoleman.io> | 2019-09-12 14:23:53 +1000 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2019-09-12 14:23:53 +1000 |
commit | b502adc910a9122ff8344caa08d4581afe1745c7 (patch) | |
tree | a1897edd968a2f2d7439410f98b31802f18f2c72 /libs | |
parent | cab37a96c4f064bca99235a8d82a796018868d9f (diff) | |
download | BIP39-b502adc910a9122ff8344caa08d4581afe1745c7.tar.gz BIP39-b502adc910a9122ff8344caa08d4581afe1745c7.tar.zst BIP39-b502adc910a9122ff8344caa08d4581afe1745c7.zip |
Add bitcoinjs-lib to libs directory
Diffstat (limited to 'libs')
-rw-r--r-- | libs/bitcoinjs-lib/bitcoinjs-lib.js | 5 | ||||
-rw-r--r-- | libs/bitcoinjs-lib/package.json | 14 | ||||
-rw-r--r-- | libs/bitcoinjs-lib/readme.md | 4 |
3 files changed, 23 insertions, 0 deletions
diff --git a/libs/bitcoinjs-lib/bitcoinjs-lib.js b/libs/bitcoinjs-lib/bitcoinjs-lib.js new file mode 100644 index 0000000..d7358c2 --- /dev/null +++ b/libs/bitcoinjs-lib/bitcoinjs-lib.js | |||
@@ -0,0 +1,5 @@ | |||
1 | let bitcoin = require('bitcoinjs-lib') | ||
2 | |||
3 | module.exports = { | ||
4 | bitcoin | ||
5 | } | ||
diff --git a/libs/bitcoinjs-lib/package.json b/libs/bitcoinjs-lib/package.json new file mode 100644 index 0000000..dca015e --- /dev/null +++ b/libs/bitcoinjs-lib/package.json | |||
@@ -0,0 +1,14 @@ | |||
1 | { | ||
2 | "name": "bitcoinjs-lib", | ||
3 | "version": "3.3.2", | ||
4 | "scripts": { | ||
5 | "build": "browserify bitcoinjs-lib.js --standalone bitcoinjs > /tmp/bitcoinjs-lib.js" | ||
6 | }, | ||
7 | "dependencies": { | ||
8 | "bitcoinjs-lib": "3.3.2" | ||
9 | }, | ||
10 | "devDependencies": { | ||
11 | "browserify": "^16.2.3", | ||
12 | "uglify-es": "^3.3.9" | ||
13 | } | ||
14 | } | ||
diff --git a/libs/bitcoinjs-lib/readme.md b/libs/bitcoinjs-lib/readme.md new file mode 100644 index 0000000..742a934 --- /dev/null +++ b/libs/bitcoinjs-lib/readme.md | |||
@@ -0,0 +1,4 @@ | |||
1 | Build (will create a bundle and copy it to /tmp/bitcoinjs-lib.js): | ||
2 | |||
3 | npm install | ||
4 | npm run build | ||