diff options
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 | ||