From b502adc910a9122ff8344caa08d4581afe1745c7 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Thu, 12 Sep 2019 14:23:53 +1000 Subject: Add bitcoinjs-lib to libs directory --- libs/bitcoinjs-lib/bitcoinjs-lib.js | 5 +++++ libs/bitcoinjs-lib/package.json | 14 ++++++++++++++ libs/bitcoinjs-lib/readme.md | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 libs/bitcoinjs-lib/bitcoinjs-lib.js create mode 100644 libs/bitcoinjs-lib/package.json create mode 100644 libs/bitcoinjs-lib/readme.md (limited to 'libs') 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 @@ +let bitcoin = require('bitcoinjs-lib') + +module.exports = { + bitcoin +} 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 @@ +{ + "name": "bitcoinjs-lib", + "version": "3.3.2", + "scripts": { + "build": "browserify bitcoinjs-lib.js --standalone bitcoinjs > /tmp/bitcoinjs-lib.js" + }, + "dependencies": { + "bitcoinjs-lib": "3.3.2" + }, + "devDependencies": { + "browserify": "^16.2.3", + "uglify-es": "^3.3.9" + } +} 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 @@ +Build (will create a bundle and copy it to /tmp/bitcoinjs-lib.js): + + npm install + npm run build -- cgit v1.2.3