Skip to content

Commit

Permalink
[update] bin file of the project
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryTabima committed Nov 30, 2018
1 parent d9aa76e commit 6fb1f6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bin/vuepress-jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../')()
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"docs": "../index.js --source=./src --dist=./documentation --title=API",
"docs": "../bin/vuepress-jsdoc.js --source=./src --dist=./documentation --title=API",
"dev": "vuepress dev documentation",
"build": "vuepress build documentation"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"coverageDirectory": "./coverage"
},
"bin": {
"vuepress-jsdoc": "./index.js"
"vuepress-jsdoc": "./bin/vuepress-jsdoc.js"
},
"dependencies": {
"@vuedoc/md": "^1.5.0",
Expand Down

0 comments on commit 6fb1f6f

Please sign in to comment.