From 5ba2cdddf246c5669a8dc3803804380c2a4e23b8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 2 Jan 2016 01:24:24 -0800 Subject: [PATCH] add bin --- bin/authenticator.js | 3 +++ package.json | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 bin/authenticator.js diff --git a/bin/authenticator.js b/bin/authenticator.js new file mode 100644 index 0000000..36e4591 --- /dev/null +++ b/bin/authenticator.js @@ -0,0 +1,3 @@ +'use strict'; + +module.exports = require('authenticator-cli/bin/authenticator'); diff --git a/package.json b/package.json index bdd6579..86df8fa 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "scripts": { "test": "node example.js" }, + "bin": { + "authenticator": "bin/authenticator.js" + }, "repository": { "type": "git", "url": "git+https://github.com/Daplie/node-authenticator.git" @@ -32,6 +35,7 @@ }, "homepage": "https://github.com/Daplie/node-authenticator#readme", "dependencies": { + "authenticator-cli": "^1.0.2", "notp": "^2.0.3", "thirty-two": "0.0.2" }