ink-gradient
Version:
Gradient color component for Ink
87 lines (86 loc) • 1.59 kB
JSON
{
"name": "ink-gradient",
"version": "3.0.0",
"description": "Gradient color component for Ink",
"license": "MIT",
"repository": "sindresorhus/ink-gradient",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"engines": {
"node": ">=16"
},
"scripts": {
"pretest": "npm run build",
"prepublish": "npm run build",
"test": "xo && ava",
"build": "tsc"
},
"files": [
"dist"
],
"keywords": [
"ink-component",
"ink",
"component",
"gradient",
"gradients",
"color",
"colors",
"rainbow",
"style",
"styles",
"react",
"jsx",
"terminal",
"term",
"console",
"command-line"
],
"dependencies": {
"@types/gradient-string": "^1.1.2",
"gradient-string": "^2.0.2",
"prop-types": "^15.8.1",
"strip-ansi": "^7.1.0"
},
"peerDependencies": {
"ink": ">=4"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^3.0.1",
"@types/react": "^18.2.10",
"ava": "^5.3.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"ink": "^4.2.0",
"ink-testing-library": "^3.0.0",
"react": "^18.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"xo": "^0.54.2"
},
"ava": {
"color": true,
"extensions": {
"ts": "module",
"tsx": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
},
"xo": {
"extends": [
"xo-react"
]
}
}