Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
{
"name": "ink",
"version": "3.2.0",
"description": "React for CLI",
"license": "MIT",
"repository": "vadimdemedes/ink",
"author": {
"name": "vdemedes",
"email": "vdemedes@gmail.com",
"url": "https://github.com/vadimdemedes"
},
"main": "build",
"types": "build/index.d.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "tsc --noEmit && xo && FORCE_COLOR=true ava"
},
"files": [
"build"
],
"keywords": [
"react",
"cli",
"jsx",
"stdout",
"components",
"command-line",
"preact",
"redux",
"print",
"render",
"colors",
"text"
],
"dependencies": {
"ansi-escapes": "^4.2.1",
"auto-bind": "4.0.0",
"chalk": "^4.1.0",
"cli-boxes": "^2.2.0",
"cli-cursor": "^3.1.0",
"cli-truncate": "^2.1.0",
"code-excerpt": "^3.0.0",
"indent-string": "^4.0.0",
"is-ci": "^2.0.0",
"lodash": "^4.17.20",
"patch-console": "^1.0.0",
"react-reconciler": "^0.26.2",
"scheduler": "^0.20.2",
"signal-exit": "^3.0.2",
"slice-ansi": "^3.0.0",
"stack-utils": "^2.0.2",
"string-width": "^4.2.2",
"type-fest": "^0.12.0",
"widest-line": "^3.1.0",
"wrap-ansi": "^6.2.0",
"ws": "^7.5.5",
"yoga-layout-prebuilt": "^1.9.6"
},
"devDependencies": {
"@sindresorhus/tsconfig": "0.7.0",
"@types/is-ci": "^2.0.0",
"@types/lodash": "^4.14.161",
"@types/node": "*",
"@types/react": "^17.0.27",
"@types/react-reconciler": "0.26.3",
"@types/scheduler": "^0.16.2",
"@types/signal-exit": "^3.0.0",
"@types/sinon": "^9.0.4",
"@types/slice-ansi": "^4.0.0",
"@types/stack-utils": "^1.0.1",
"@types/wrap-ansi": "^3.0.0",
"@vdemedes/prettier-config": "^1.0.1",
"ava": "^3.5.0",
"babel-eslint": "^10.0.1",
"benchmark": "^2.1.4",
"boxen": "^4.2.0",
"chance": "^1.1.6",
"delay": "^4.1.0",
"eslint-config-xo": "0.29.1",
"eslint-config-xo-react": "^0.22.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"import-jsx": "3.1.0",
"ms": "^2.1.1",
"node-pty": "^0.10.0",
"p-queue": "^6.2.1",
"prettier": "^2.0.4",
"react": "^17.0.2",
"react-devtools-core": "^4.19.1",
"sinon": "^8.1.1",
"strip-ansi": "^6.0.0",
"ts-node": "7.0.0",
"typescript": "^3.8.3",
"xo": "^0.28.0"
},
"peerDependencies": {
"@types/react": ">=16.8.0",
"react": ">=16.8.0",
"react-devtools-core": "^4.19.1"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react-devtools-core": {
"optional": true
}
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"require": [
"ts-node/register/transpile-only"
]
},
"xo": {
"extends": [
"xo-react"
],
"plugins": [
"react"
],
"prettier": true,
"rules": {
"react/no-unescaped-entities": "off",
"react/state-in-constructor": "off",
"react/jsx-indent": "off"
},
"overrides": [
{
"files": [
"src/**/*.{ts,tsx}",
"test/**/*.{ts,tsx}"
],
"rules": {
"no-unused-expressions": "off",
"camelcase": [
"error",
{
"allow": [
"^unstable__",
"^internal_"
]
}
],
"unicorn/filename-case": "off",
"react/prop-types": "off",
"react/default-props-match-prop-types": "off",
"unicorn/prevent-abbreviations": "off",
"react/require-default-props": "warn",
"react/jsx-curly-brace-presence": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/promise-function-async": "warn",
"@typescript-eslint/explicit-function-return": "off",
"@typescript-eslint/explicit-function-return-type": "off"
}
},
{
"files": [
"examples/**/*.js"
],
"rules": {
"react/prop-types": "off"
}
}
]
},
"prettier": "@vdemedes/prettier-config"
}