From d5819d3a122e710ba7aef11e250877a106b27a71 Mon Sep 17 00:00:00 2001 From: liamzebedee Date: Tue, 6 Aug 2019 17:08:17 +0200 Subject: [PATCH] Move back index.js to avoid test refactoring --- lib/tbtc-helpers/index.js | 8 ++++++++ lib/tbtc-helpers/package.json | 2 +- lib/tbtc-helpers/src/index.js | 8 -------- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 lib/tbtc-helpers/index.js delete mode 100644 lib/tbtc-helpers/src/index.js diff --git a/lib/tbtc-helpers/index.js b/lib/tbtc-helpers/index.js new file mode 100644 index 00000000..3d2c9c0c --- /dev/null +++ b/lib/tbtc-helpers/index.js @@ -0,0 +1,8 @@ +const BitcoinSPV = require('./src/BitcoinSPV') +const BitcoinTxParser = require('./src/BitcoinTxParser') +const ElectrumClient = require('./src/ElectrumClient') +const Address = require('./src/Address') + +module.exports = { + BitcoinSPV, BitcoinTxParser, ElectrumClient, Address, +} diff --git a/lib/tbtc-helpers/package.json b/lib/tbtc-helpers/package.json index 4e3f82f6..12c62912 100644 --- a/lib/tbtc-helpers/package.json +++ b/lib/tbtc-helpers/package.json @@ -2,7 +2,7 @@ "name": "tbtc-helpers", "version": "0.0.1", "description": "", - "main": "src/index.js", + "main": "index.js", "scripts": { "test": "mocha --timeout 5000", "js:lint": "eslint .", diff --git a/lib/tbtc-helpers/src/index.js b/lib/tbtc-helpers/src/index.js deleted file mode 100644 index 317e9cb6..00000000 --- a/lib/tbtc-helpers/src/index.js +++ /dev/null @@ -1,8 +0,0 @@ -const BitcoinSPV = require('./BitcoinSPV') -const BitcoinTxParser = require('./BitcoinTxParser') -const ElectrumClient = require('./ElectrumClient') -const Address = require('./Address') - -module.exports = { - BitcoinSPV, BitcoinTxParser, ElectrumClient, Address, -}