Update package.json

This commit is contained in:
l198881 2021-05-26 15:49:10 -03:00 committed by GitHub
parent 029b69e482
commit 83742e2773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,21 @@
{ {
"name": "chalk", "name": "chalk",
"version": "2.4.2", "version": "4.1.0",
"description": "Terminal string styling done right", "description": "Terminal string styling done right",
"license": "MIT", "license": "MIT",
"repository": "chalk/chalk", "repository": "chalk/chalk",
"funding": "https://github.com/chalk/chalk?sponsor=1",
"main": "source",
"engines": { "engines": {
"node": ">=6" "node": ">=10"
}, },
"scripts": { "scripts": {
"test": "xo && nyc ava && tsd-check && flow", "test": "xo && nyc ava && tsd",
"bench": "matcha benchmark.js" "bench": "matcha benchmark.js"
}, },
"files": [ "files": [
"index.js", "source",
"templates.js", "index.d.ts"
"index.d.ts",
"index.js.flow"
], ],
"keywords": [ "keywords": [
"color", "color",
@ -41,27 +41,28 @@
"text" "text"
], ],
"dependencies": { "dependencies": {
"ansi-styles": "^3.2.1", "ansi-styles": "^4.1.0",
"escape-string-regexp": "^1.0.5", "supports-color": "^7.1.0"
"supports-color": "^6.0.0"
}, },
"devDependencies": { "devDependencies": {
"@sindresorhus/tsconfig": "^0.1.1", "ava": "^2.4.0",
"ava": "^1.0.1", "coveralls": "^3.1.0",
"coveralls": "^3.0.2", "execa": "^4.0.3",
"execa": "^1.0.0", "import-fresh": "^3.2.1",
"flow-bin": "^0.89.0",
"import-fresh": "^3.0.0",
"matcha": "^0.7.0", "matcha": "^0.7.0",
"nyc": "^13.1.0", "nyc": "^15.1.0",
"resolve-from": "^4.0.0", "resolve-from": "^5.0.0",
"tsd-check": "^0.3.0", "tsd": "^0.13.1",
"xo": "^0.23.0" "xo": "^0.33.1"
}, },
"types": "index.d.ts",
"xo": { "xo": {
"ignores": [ "rules": {
"test/_flow.js" "unicorn/prefer-string-slice": "off",
] "unicorn/prefer-includes": "off",
"@typescript-eslint/member-ordering": "off",
"no-redeclare": "off",
"unicorn/string-content": "off",
"unicorn/better-regex": "off"
}
} }
} }