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

Update npm scripts

This commit is contained in:
GochoMugo 2017-01-07 12:53:32 +03:00
parent f1b8e2d4f5
commit 9b4e1d9088
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4

View File

@ -14,13 +14,12 @@
"bot"
],
"scripts": {
"build": "babel -d ./lib src",
"prepublish": "npm run build",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha",
"prepublish:test": "npm run prepublish && npm run test",
"gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md",
"build": "babel -d ./lib src",
"prepublish": "npm run build && npm run gen-doc && contributor",
"eslint": "eslint ./src ./test ./examples",
"pretest": "npm run eslint && npm run build"
"pretest": "npm run build",
"test": "npm run eslint && istanbul cover ./node_modules/mocha/bin/_mocha"
},
"author": "Yago Pérez <yagoperezs@gmail.com>",
"license": "MIT",