Skip to content

Commit 9244c7d

Browse files
committed
add code coverage and some info
1 parent 3926167 commit 9244c7d

File tree

6 files changed

+23
-11
lines changed

6 files changed

+23
-11
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
1110
[*.{json,yml}]
1211
indent_style = space
1312
indent_size = 2

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
node_modules/
2-
npm-debug.log
1+
node_modules
2+
coverage
3+
.nyc_output
4+
.DS_Store
5+
*.log

.npmignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.gitignore
2-
3-
node_modules/
4-
npm-debug.log
5-
6-
test/
2+
test.js
73
.travis.yml
4+
node_modules
5+
coverage
6+
.nyc_output
7+
.DS_Store
8+
*.log

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ node_js:
44
- stable
55
- "4"
66
- "0.12"
7+
8+
after_success:
9+
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![NPM version][npm-img]][npm-url]
44
[![Build Status][travis-img]][travis-url]
55
[![Dependency Status][daviddm-img]][daviddm-url]
6+
[![Code coverage status][coveralls-img]][coveralls-url]
67
[![XO code style][xo-img]][xo-url]
78

89

@@ -54,3 +55,5 @@ MIT © [Valentin Semirulnik](https://twitter.com/7rulnik)
5455
[npm-url]: https://www.npmjs.com/package/postcss-flexibility
5556
[xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg
5657
[xo-url]: https://github.com/sindresorhus/xo
58+
[coveralls-img]: https://coveralls.io/repos/github/7rulnik/postcss-flexibility/badge.svg?branch=master
59+
[coveralls-url]: https://coveralls.io/github/7rulnik/postcss-flexibility?branch=master

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "postcss-flexibility",
33
"version": "1.0.1",
44
"description": "PostCSS plugin for Flexibility polyfill",
5+
"main": "index.js",
56
"keywords": [
67
"postcss",
78
"css",
@@ -11,7 +12,7 @@
1112
"polyfill",
1213
"flexibility"
1314
],
14-
"author": "Valentin Semirulnik <[email protected]>",
15+
"author": "Valentin Semirulnik <[email protected]> (https://7rulnik.me/)",
1516
"license": "MIT",
1617
"repository": "7rulnik/postcss-flexibility",
1718
"bugs": {
@@ -23,10 +24,12 @@
2324
},
2425
"devDependencies": {
2526
"ava": "^0.11.0",
27+
"coveralls": "^2.11.6",
2628
"eslint": "^1.10.2",
27-
"eslint-config-xo": "^0.9.1"
29+
"eslint-config-xo": "^0.9.1",
30+
"nyc": "^5.5.0"
2831
},
2932
"scripts": {
30-
"test": "ava && eslint *.js"
33+
"test": "nyc ava && eslint *.js"
3134
}
3235
}

0 commit comments

Comments
 (0)