2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 05:17:41 +00:00

Fix npm script

Bug:

  The updates jsdoc2md changes its CLI API! Update
  our usage!
This commit is contained in:
GochoMugo 2017-01-07 14:26:42 +03:00
parent 9b4e1d9088
commit d54a6cd227
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4

View File

@ -14,7 +14,7 @@
"bot" "bot"
], ],
"scripts": { "scripts": {
"gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md", "gen-doc": "jsdoc2md --files src/telegram.js --template README.hbs > README.md",
"build": "babel -d ./lib src", "build": "babel -d ./lib src",
"prepublish": "npm run build && npm run gen-doc && contributor", "prepublish": "npm run build && npm run gen-doc && contributor",
"eslint": "eslint ./src ./test ./examples", "eslint": "eslint ./src ./test ./examples",