2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-23 18:38:01 +00:00

Simplify scripts a bit

This commit is contained in:
Yago 2016-07-07 23:50:01 +02:00
parent 12200eea4c
commit d1700788a1

View File

@ -17,9 +17,9 @@
"prepublish": "babel -d ./lib src", "prepublish": "babel -d ./lib src",
"test": "mocha test/index.js --timeout 10000", "test": "mocha test/index.js --timeout 10000",
"prepublish:test": "npm run prepublish && npm run test", "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", "test-cov": "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", "gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md",
"eslint": "./node_modules/.bin/eslint ./src" "eslint": "eslint ./src"
}, },
"author": "Yago Pérez <yagoperezs@gmail.com>", "author": "Yago Pérez <yagoperezs@gmail.com>",
"license": "MIT", "license": "MIT",