diff --git a/commands.js b/lib/commands.js similarity index 100% rename from commands.js rename to lib/commands.js diff --git a/index.js b/lib/index.js similarity index 100% rename from index.js rename to lib/index.js diff --git a/jsonrpc.js b/lib/jsonrpc.js similarity index 100% rename from jsonrpc.js rename to lib/jsonrpc.js diff --git a/package.json b/package.json index 707e0a1..7c167d4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "bitcoin", "description": "Communicate with bitcoind via JSON-RPC", "version": "1.6.2", - "main": "index.js", + "main": "lib/index.js", "keywords": [ "bitcoin", "rpc" diff --git a/test/missing-commands.js b/test/missing-commands.js index 994521d..77d5b6a 100644 --- a/test/missing-commands.js +++ b/test/missing-commands.js @@ -1,7 +1,7 @@ var assert = require('assert'), bitcoin = require('../'), config = require('./config'), - commands = require('../commands'); + commands = require('../lib/commands'); describe('Client Commands', function() {