Skip to content

Commit ef16c1f

Browse files
committed
update devDependencies
Highlight: switch from nyc to coverage https://github.com/shinnn/coverage
1 parent 5bd66c5 commit ef16c1f

File tree

6 files changed

+1101
-1600
lines changed

6 files changed

+1101
-1600
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto eol=lf

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ if: branch !~ ^v\d
22
dist: xenial
33
language: node_js
44
node_js: node
5-
after_script: node_modules/.bin/nyc report | npx coveralls

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ISC License (ISC)
2-
Copyright 2017 Shinnosuke Watanabe
2+
Copyright 2017 - 2019 Shinnosuke Watanabe
33

44
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
55

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
[![npm version](https://img.shields.io/npm/v/clean-css-promise.svg)](https://www.npmjs.com/package/clean-css-promise)
44
[![Build Status](https://travis-ci.com/shinnn/clean-css-promise.svg?branch=master)](https://travis-ci.com/shinnn/clean-css-promise)
5-
[![Coverage Status](https://img.shields.io/coveralls/shinnn/clean-css-promise.svg)](https://coveralls.io/github/shinnn/clean-css-promise?branch=master)
5+
[![codecov](https://codecov.io/gh/shinnn/clean-css-promise/branch/master/graph/badge.svg)](https://codecov.io/gh/shinnn/clean-css-promise)
66

77
[clean-css](https://github.com/jakubpawlowicz/clean-css) with the default [Promise](https://developer.mozilla.org/docs/Mozilla/JavaScript_code_modules/Promise.jsm/Promise) interface and some improvements
88

99
```javascript
1010
const CleanCssPromise = require('clean-css-promise');
1111

12-
new CleanCssPromise()
13-
.minify('p { margin: 1px 1px 1px 1px; }')
14-
.then(({styles}) => console.log(styles)) //=> p{margin:1px}
12+
(async () => {
13+
const {styles} = new CleanCssPromise().minify('p { margin: 1px 1px 1px 1px; }');
14+
//=> p{margin:1px}
15+
})();
1516
```
1617

1718
## Installation
@@ -55,4 +56,4 @@ clean-css dangerously ignores these errors but clean-css-promise doesn't, becaus
5556

5657
## License
5758

58-
[ISC License](./LICENSE) © 2017 - 2018 Shinnosuke Watanabe
59+
[ISC License](./LICENSE) © 2017 - 2019 Shinnosuke Watanabe

0 commit comments

Comments
 (0)