Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
add coverage, bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jehy committed Mar 14, 2017
1 parent 967ee35 commit 2e07bf8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ language: node_js
node_js:
- "4"
- "6"
- "7"
- "node"
- "iojs"
after_success:
- npm run coverage && npm run coveralls
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#Telegram test

[![Build Status](https://travis-ci.org/jehy/telegram-test.svg?branch=master)](https://travis-ci.org/jehy/telegram-test)
[![Coverage Status](https://coveralls.io/repos/github/jehy/telegram-test/badge.svg?branch=master)](https://coveralls.io/github/jehy/telegram-test?branch=master)
[![dependencies Status](https://david-dm.org/jehy/telegram-test/status.svg)](https://david-dm.org/jehy/telegram-test)
[![devDependencies Status](https://david-dm.org/jehy/telegram-test/dev-status.svg)](https://david-dm.org/jehy/telegram-test?type=dev)

Simple module for testing telegram bots, created with `node-telegram-bot-api`
which lets you test bot's logic without using telegram API.
Expand Down
22 changes: 13 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "telegram-test",
"version": "0.1.1",
"version": "0.1.2",
"description": "Lets you debug telegram bots offline",
"keywords": [
"telegram",
Expand All @@ -12,7 +12,9 @@
"test": "./node_modules/mocha/bin/mocha --use_strict",
"compile": "./node_modules/babel-cli/bin/babel.js --presets es2015 -d ./lib src",
"prepublish": "npm run compile",
"lint": "./node_modules/eslint/bin/eslint.js script.js test"
"lint": "./node_modules/eslint/bin/eslint.js script.js test",
"coverage": "node ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha test/test.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"repository": {
"type": "git",
Expand All @@ -21,19 +23,21 @@
"author": "Jehy",
"license": "MIT",
"dependencies": {
"bluebird": "^3.4.7",
"bluebird": "^3.5.0",
"object-assign": "^4.1.1"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"eslint": "^3.16.1",
"babel-cli": "^6.24.0",
"babel-preset-es2015": "^6.24.0",
"coveralls": "^2.12.0",
"eslint": "^3.17.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.10.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-promise": "^3.4.2",
"eslint-plugin-standard": "^2.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^6.10.0",
"eslint-plugin-standard": "^2.1.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"node-telegram-bot-api": "^0.27.0"
}
Expand Down

0 comments on commit 2e07bf8

Please sign in to comment.