Skip to content

Commit

Permalink
Adding test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MeriemKhelifi committed Mar 27, 2017
1 parent 580b266 commit 4766207
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 33 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: node_js
node_js:
- "stable"
- "4"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
sudo: false
script:
- npm run-script test:ci
5 changes: 3 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# colors.js [![Build Status](https://travis-ci.org/Marak/colors.js.svg?branch=master)](https://travis-ci.org/Marak/colors.js)

# colors.js
[![Build Status](https://travis-ci.org/Marak/colors.js.svg?branch=master)](https://travis-ci.org/Marak/colors.js)
[![coverage](https://img.shields.io/coveralls/MeriemKhelifi/colors.js.svg)](https://coveralls.io/github/MeriemKhelifi/colors.js)
## get color and style in your node.js console

![Demo](https://raw.githubusercontent.com/Marak/colors.js/master/screenshots/colors.png)
Expand Down
62 changes: 36 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
{
"name": "colors",
"description": "get colors in your node.js console",
"version": "1.1.2",
"author": "Marak Squires",
"homepage": "https://github.com/Marak/colors.js",
"bugs": "https://github.com/Marak/colors.js/issues",
"keywords": [ "ansi", "terminal", "colors" ],
"repository": {
"type": "git",
"url": "http://github.com/Marak/colors.js.git"
},
"license": "MIT",
"scripts": {
"test": "node tests/basic-test.js && node tests/safe-test.js"
},
"engines": {
"node": ">=0.1.90"
},
"main": "lib",
"files": [
"examples",
"lib",
"LICENSE",
"safe.js",
"themes"
]
"name": "colors",
"description": "get colors in your node.js console",
"version": "1.1.2",
"author": "Marak Squires",
"homepage": "https://github.com/Marak/colors.js",
"bugs": "https://github.com/Marak/colors.js/issues",
"keywords": [
"ansi",
"terminal",
"colors"
],
"repository": {
"type": "git",
"url": "http://github.com/Marak/colors.js.git"
},
"license": "MIT",
"scripts": {
"test": "node tests/basic-test.js && node tests/safe-test.js",
"test:coverage": "istanbul cover tests/*.js",
"test:ci": "istanbul cover tests/*.js && cat coverage/lcov.info | coveralls"
},
"engines": {
"node": ">=0.1.90"
},
"main": "lib",
"files": [
"examples",
"lib",
"LICENSE",
"safe.js",
"themes"
],
"devDependencies": {
"coveralls": "2.12.0",
"istanbul": "0.4.5"
}
}

0 comments on commit 4766207

Please sign in to comment.