diff --git a/src/cli.js b/src/cli.js index 48b5ea1..197f8b3 100755 --- a/src/cli.js +++ b/src/cli.js @@ -1,7 +1,7 @@ #!/usr/bin/env node +const { program } = require('commander'); const pkg = require('../package.json'); const combineJson = require('./combine-json'); -const { program } = require('commander'); program .version(pkg.version) diff --git a/src/index.js b/src/index.js index e893566..bf3f1dc 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,3 @@ const combineJson = require('./combine-json'); -module.exports = combineJson; +module.exports = { combineJson };