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" }