* Fix XO linting and update some dev dependencies Fixes #275 * Add some badges to the readme * Tiny travis.yml tweak * Require Node.js 6 * Validate the `level` option Fixes #248 * Add failing test for #234 (#235) * Add type definitions badge (#286) * Add Tidelift mention in the readme * Replace RawGit URL Fixes #305 * Fix ignore chars regex flags in rainbow example (#306) Use global matches rather than stopping after the first match. * Strict mode in Flow definition (#309) * Add security section * Add docs comments and tests for TypeScript definitions (#299) Fixes #293 * Update dependencies and meta tweaks * Type definition improvements * Enforce `chalk.constructor` to be called with `new` in TypeScript * Add extra level/enabled property info in the readme (#308) * Code style tweaks * Change tagged template literal argument type to accept `unknown` instead of just `string` (#316)
67 lines
1.1 KiB
JSON
67 lines
1.1 KiB
JSON
{
|
|
"name": "chalk",
|
|
"version": "2.4.2",
|
|
"description": "Terminal string styling done right",
|
|
"license": "MIT",
|
|
"repository": "chalk/chalk",
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && nyc ava && tsd-check && flow",
|
|
"bench": "matcha benchmark.js"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"templates.js",
|
|
"index.d.ts",
|
|
"index.js.flow"
|
|
],
|
|
"keywords": [
|
|
"color",
|
|
"colour",
|
|
"colors",
|
|
"terminal",
|
|
"console",
|
|
"cli",
|
|
"string",
|
|
"str",
|
|
"ansi",
|
|
"style",
|
|
"styles",
|
|
"tty",
|
|
"formatting",
|
|
"rgb",
|
|
"256",
|
|
"shell",
|
|
"xterm",
|
|
"log",
|
|
"logging",
|
|
"command-line",
|
|
"text"
|
|
],
|
|
"dependencies": {
|
|
"ansi-styles": "^3.2.1",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"supports-color": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^0.1.1",
|
|
"ava": "^1.0.1",
|
|
"coveralls": "^3.0.2",
|
|
"execa": "^1.0.0",
|
|
"flow-bin": "^0.89.0",
|
|
"import-fresh": "^3.0.0",
|
|
"matcha": "^0.7.0",
|
|
"nyc": "^13.1.0",
|
|
"resolve-from": "^4.0.0",
|
|
"tsd-check": "^0.3.0",
|
|
"xo": "^0.23.0"
|
|
},
|
|
"types": "index.d.ts",
|
|
"xo": {
|
|
"ignores": [
|
|
"test/_flow.js"
|
|
]
|
|
}
|
|
}
|