88 lines
1.7 KiB
JSON
88 lines
1.7 KiB
JSON
{
|
|
"name": "ink-text-input",
|
|
"version": "6.0.0",
|
|
"description": "Text input component for Ink",
|
|
"license": "MIT",
|
|
"repository": "vadimdemedes/ink-text-input",
|
|
"author": {
|
|
"name": "Vadim Demedes",
|
|
"email": "vadimdemedes@hey.com",
|
|
"url": "https://github.com/vadimdemedes"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./build/index.d.ts",
|
|
"default": "./build/index.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"test": "tsc --noEmit && xo && FORCE_COLOR=1 ava",
|
|
"build": "tsc",
|
|
"prepare": "tsc",
|
|
"pretest": "tsc"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"keywords": [
|
|
"ink",
|
|
"text",
|
|
"input",
|
|
"component",
|
|
"jsx",
|
|
"react",
|
|
"stdin",
|
|
"keypress",
|
|
"search",
|
|
"query"
|
|
],
|
|
"dependencies": {
|
|
"chalk": "^5.3.0",
|
|
"type-fest": "^4.18.2"
|
|
},
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^5.0.0",
|
|
"@types/react": "^18.3.2",
|
|
"@types/sinon": "^17.0.3",
|
|
"@vdemedes/prettier-config": "^2.0.1",
|
|
"ava": "^6.1.3",
|
|
"delay": "^6.0.0",
|
|
"eslint-config-xo-react": "^0.27.0",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"ink": "^5.0.0",
|
|
"ink-testing-library": "vadimdemedes/ink-testing-library#f44b077e9a05a1d615bab41c72906726d34ea085",
|
|
"prettier": "^3.2.5",
|
|
"react": "^18.3.1",
|
|
"sinon": "^17.0.1",
|
|
"tsimp": "^2.0.11",
|
|
"typescript": "^5.4.5",
|
|
"xo": "^0.58.0"
|
|
},
|
|
"peerDependencies": {
|
|
"ink": ">=5",
|
|
"react": ">=18"
|
|
},
|
|
"ava": {
|
|
"extensions": {
|
|
"ts": "module",
|
|
"tsx": "module"
|
|
},
|
|
"nodeArguments": [
|
|
"--import=tsimp/import"
|
|
]
|
|
},
|
|
"xo": {
|
|
"extends": [
|
|
"xo-react"
|
|
],
|
|
"prettier": true,
|
|
"rules": {
|
|
"unicorn/prevent-abbreviations": "off"
|
|
}
|
|
},
|
|
"prettier": "@vdemedes/prettier-config"
|
|
}
|