mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-09-02 07:15:34 +00:00
Update npm scripts
This commit is contained in:
@@ -14,13 +14,12 @@
|
|||||||
"bot"
|
"bot"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"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",
|
"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>",
|
"author": "Yago Pérez <yagoperezs@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Reference in New Issue
Block a user