From feeee0994a75a36c2bacfb06c48a4563f158d5bd Mon Sep 17 00:00:00 2001 From: Michal Kochel Date: Wed, 9 Mar 2016 19:37:03 +0100 Subject: [PATCH] Binary fixed. --- bin/aemsync | 3 ++- index.js | 7 +++++-- package.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bin/aemsync b/bin/aemsync index 0d47c94..a799f0c 100755 --- a/bin/aemsync +++ b/bin/aemsync @@ -1,2 +1,3 @@ #!/usr/bin/env node -require('../index') +const aemsync = require('../index') +aemsync.main() diff --git a/index.js b/index.js index 918bbc5..b16d58a 100644 --- a/index.js +++ b/index.js @@ -62,5 +62,8 @@ if (require.main === module) { main() } -module.exports.Watcher = Watcher -module.exports.Pusher = Pusher +module.exports = { + main: main, + Watcher: Watcher, + Pusher: Pusher +} diff --git a/package.json b/package.json index dcbc3dd..07653f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aemsync", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "description": "Adobe AEM Synchronization Tool", "author": "Michal Kochel ", "keywords": [