mirror of
https://github.com/danog/inline-critical.git
synced 2024-11-26 12:04:38 +01:00
Added some badges
This commit is contained in:
parent
7064c2bf90
commit
2e73aea568
@ -12,5 +12,9 @@ insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,3 +7,6 @@ test/fixtures/css/main.158f2990.css
|
||||
test/fixtures/bower_components/bootstrap/dist/css/bootstrap.0151e5ef.css
|
||||
test/fixtures/css/cartoon.64faf7bc.css
|
||||
|
||||
.nyc_output
|
||||
coverage
|
||||
|
||||
|
@ -5,3 +5,5 @@ node_js:
|
||||
- "6"
|
||||
- "5"
|
||||
- "4"
|
||||
after_success:
|
||||
- npm run coveralls
|
||||
|
22
README.md
22
README.md
@ -3,9 +3,7 @@
|
||||
Inline critical-path css and load the existing stylesheets asynchronously.
|
||||
Existing link tags will also be wrapped in ```<noscript>``` so the users with javscript disabled will see the site rendered normally.
|
||||
|
||||
[![build status](https://api.travis-ci.org/bezoerb/inline-critical.svg?branch=master)](http://travis-ci.org/bezoerb/inline-critical)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/qb9esocjkpp6hw3q/branch/master?svg=true)](https://ci.appveyor.com/project/bezoerb/inline-critical/branch/master)
|
||||
|
||||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build Status][appveyor-image]][appveyor-url] [![Dependency Status][depstat-image]][depstat-url] [![Download][dlcounter-image]][dlcounter-url] [![Coverage Status][coveralls-image]][coveralls-url]
|
||||
|
||||
## Installation
|
||||
|
||||
@ -73,3 +71,21 @@ Run `inline-critical --help` to see the list of options.
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[npm-url]: https://npmjs.org/package/inline-critical
|
||||
[npm-image]: https://badge.fury.io/js/inline-critical.svg
|
||||
|
||||
[travis-url]: https://travis-ci.org/bezoerb/inline-critical
|
||||
[travis-image]: https://secure.travis-ci.org/bezoerb/inline-critical.svg?branch=master
|
||||
|
||||
[appveyor-url]: https://ci.appveyor.com/project/bezoerb/inline-critical/branch/master
|
||||
[appveyor-image]: https://ci.appveyor.com/api/projects/status/qb9esocjkpp6hw3q/branch/master?svg=true
|
||||
|
||||
[depstat-url]: https://david-dm.org/bezoerb/inline-critical
|
||||
[depstat-image]: https://david-dm.org/bezoerb/inline-critical.svg
|
||||
|
||||
[dlcounter-url]: https://www.npmjs.com/package/inline-critical
|
||||
[dlcounter-image]: https://img.shields.io/npm/dm/inline-critical.svg
|
||||
|
||||
[coveralls-url]: https://coveralls.io/github/bezoerb/inline-critical?branch=master
|
||||
[coveralls-image]: https://coveralls.io/repos/github/bezoerb/inline-critical/badge.svg?branch=master
|
||||
|
@ -4,7 +4,9 @@
|
||||
"description": "Inline critical-path css and load the existing stylesheets asynchronously",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "xo && mocha test/index.js --timeout 5000"
|
||||
"test": "xo && nyc mocha test/index.js --timeout 5000",
|
||||
"prepublish": "nsp check",
|
||||
"coveralls": "nyc report --reporter=text-lcov | coveralls"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@ -47,8 +49,11 @@
|
||||
"devDependencies": {
|
||||
"chai": "3.5.0",
|
||||
"concat-stream": "1.6.0",
|
||||
"coveralls": "2.11.16",
|
||||
"mocha": "3.2.0",
|
||||
"mockery": "2.0.0",
|
||||
"nsp": "2.6.2",
|
||||
"nyc": "10.1.2",
|
||||
"read-package-json": "2.0.4",
|
||||
"xo": "0.17.1"
|
||||
},
|
||||
@ -63,6 +68,6 @@
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
"node": ">= 4"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user