meta tweaks

This commit is contained in:
Sindre Sorhus 2016-04-06 23:05:21 +07:00
parent ff2c3ea9a5
commit 2653218312
2 changed files with 8 additions and 12 deletions

View file

@ -13,10 +13,9 @@
"node": ">=0.10.0" "node": ">=0.10.0"
}, },
"scripts": { "scripts": {
"test": "xo && mocha", "test": "xo && nyc mocha",
"bench": "matcha benchmark.js", "bench": "matcha benchmark.js",
"coverage": "nyc npm test && nyc report", "coveralls": "nyc report --reporter=text-lcov | coveralls"
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls"
}, },
"files": [ "files": [
"index.js" "index.js"
@ -51,9 +50,9 @@
}, },
"devDependencies": { "devDependencies": {
"coveralls": "^2.11.2", "coveralls": "^2.11.2",
"matcha": "^0.6.0", "matcha": "^0.7.0",
"mocha": "*", "mocha": "*",
"nyc": "^5.2.0", "nyc": "^6.1.1",
"require-uncached": "^1.0.2", "require-uncached": "^1.0.2",
"resolve-from": "^2.0.0", "resolve-from": "^2.0.0",
"semver": "^5.1.0", "semver": "^5.1.0",

View file

@ -9,10 +9,7 @@
> Terminal string styling done right > Terminal string styling done right
[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4)
[![Coverage Status](https://coveralls.io/repos/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/r/chalk/chalk?branch=master)
[![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4)
[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough. [colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough.
@ -191,8 +188,8 @@ If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) i
## Related ## Related
- [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module - [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module
- [ansi-styles](https://github.com/chalk/ansi-styles/) - ANSI escape codes for styling strings in the terminal - [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
- [supports-color](https://github.com/chalk/supports-color/) - Detect whether a terminal supports color - [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes - [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes
- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
@ -202,4 +199,4 @@ If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) i
## License ## License
MIT © [Sindre Sorhus](http://sindresorhus.com) MIT © [Sindre Sorhus](https://sindresorhus.com)