Skip to content

Commit

Permalink
Making the package able to be installed globally with npm install -g
Browse files Browse the repository at this point in the history
  • Loading branch information
manuasir committed May 1, 2019
1 parent 0b8d40d commit 7188917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/snapmatic-converter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
const snapmaticToJpeg = require('../lib/snapmatic-to-jpeg');
const { debug } = require('../package.json');
// start process if correct number of arguments was passed
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"lint": "eslint . --ext .js -c .eslintrc.json --color",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha test/* && istanbul check-coverage"
},
"bin": {
"snapmatic-converter": "./bin/snapmatic-converter.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manuasir/snapmatic-converter.git"
Expand Down

0 comments on commit 7188917

Please sign in to comment.