aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2019-09-12 14:23:53 +1000
committerIan Coleman <ian@iancoleman.io>2019-09-12 14:23:53 +1000
commitb502adc910a9122ff8344caa08d4581afe1745c7 (patch)
treea1897edd968a2f2d7439410f98b31802f18f2c72 /libs
parentcab37a96c4f064bca99235a8d82a796018868d9f (diff)
downloadBIP39-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.js5
-rw-r--r--libs/bitcoinjs-lib/package.json14
-rw-r--r--libs/bitcoinjs-lib/readme.md4
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 @@
1let bitcoin = require('bitcoinjs-lib')
2
3module.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 @@
1Build (will create a bundle and copy it to /tmp/bitcoinjs-lib.js):
2
3 npm install
4 npm run build