mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 13:27:44 +00:00
prepublish:test script
This commit is contained in:
parent
94540c39bf
commit
12200eea4c
@ -14,8 +14,9 @@
|
||||
"bot"
|
||||
],
|
||||
"scripts": {
|
||||
"prepublish": "./node_modules/.bin/babel -d ./lib src",
|
||||
"test": "./node_modules/.bin/mocha test/index.js --timeout 10000",
|
||||
"prepublish": "babel -d ./lib src",
|
||||
"test": "mocha test/index.js --timeout 10000",
|
||||
"prepublish:test": "npm run prepublish && npm run test",
|
||||
"test-cov": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
||||
"gen-doc": "./node_modules/.bin/jsdoc2md --src src/telegram.js -t README.hbs > README.md",
|
||||
"eslint": "./node_modules/.bin/eslint ./src"
|
||||
|
Loading…
x
Reference in New Issue
Block a user