UNPKG

3.72 kBJSONView Raw
1{
2 "name": "ink",
3 "version": "3.1.0",
4 "description": "React for CLI",
5 "license": "MIT",
6 "repository": "vadimdemedes/ink",
7 "author": {
8 "name": "vdemedes",
9 "email": "vdemedes@gmail.com",
10 "url": "https://github.com/vadimdemedes"
11 },
12 "main": "build",
13 "types": "build/index.d.ts",
14 "engines": {
15 "node": ">=10"
16 },
17 "scripts": {
18 "build": "tsc",
19 "prepare": "npm run build",
20 "test": "tsc --noEmit && xo && FORCE_COLOR=true ava"
21 },
22 "files": [
23 "build"
24 ],
25 "keywords": [
26 "react",
27 "cli",
28 "jsx",
29 "stdout",
30 "components",
31 "command-line",
32 "preact",
33 "redux",
34 "print",
35 "render",
36 "colors",
37 "text"
38 ],
39 "dependencies": {
40 "ansi-escapes": "^4.2.1",
41 "auto-bind": "4.0.0",
42 "chalk": "^4.1.0",
43 "cli-boxes": "^2.2.0",
44 "cli-cursor": "^3.1.0",
45 "cli-truncate": "^2.1.0",
46 "code-excerpt": "^3.0.0",
47 "indent-string": "^4.0.0",
48 "is-ci": "^2.0.0",
49 "lodash": "^4.17.20",
50 "patch-console": "^1.0.0",
51 "react-devtools-core": "^4.6.0",
52 "react-reconciler": "^0.24.0",
53 "scheduler": "^0.18.0",
54 "signal-exit": "^3.0.2",
55 "slice-ansi": "^3.0.0",
56 "stack-utils": "^2.0.2",
57 "string-width": "^4.2.2",
58 "type-fest": "^0.12.0",
59 "widest-line": "^3.1.0",
60 "wrap-ansi": "^6.2.0",
61 "ws": "^7.2.5",
62 "yoga-layout-prebuilt": "^1.9.6"
63 },
64 "devDependencies": {
65 "@sindresorhus/tsconfig": "0.7.0",
66 "@types/is-ci": "^2.0.0",
67 "@types/lodash": "^4.14.161",
68 "@types/node": "*",
69 "@types/react": "^16.9.41",
70 "@types/react-reconciler": "^0.18.0",
71 "@types/scheduler": "^0.16.1",
72 "@types/signal-exit": "^3.0.0",
73 "@types/sinon": "^9.0.4",
74 "@types/slice-ansi": "^4.0.0",
75 "@types/stack-utils": "^1.0.1",
76 "@types/wrap-ansi": "^3.0.0",
77 "@vdemedes/prettier-config": "^1.0.1",
78 "ava": "^3.5.0",
79 "babel-eslint": "^10.0.1",
80 "benchmark": "^2.1.4",
81 "boxen": "^4.2.0",
82 "chance": "^1.1.6",
83 "delay": "^4.1.0",
84 "eslint-config-xo": "0.29.1",
85 "eslint-config-xo-react": "^0.22.0",
86 "eslint-plugin-prettier": "^3.1.2",
87 "eslint-plugin-react": "^7.18.0",
88 "eslint-plugin-react-hooks": "^2.3.0",
89 "import-jsx": "3.1.0",
90 "ms": "^2.1.1",
91 "node-pty": "^0.9.0",
92 "p-queue": "^6.2.1",
93 "prettier": "^2.0.4",
94 "react": "^16.9.0",
95 "sinon": "^8.1.1",
96 "strip-ansi": "^6.0.0",
97 "ts-node": "7.0.0",
98 "typescript": "^3.8.3",
99 "xo": "^0.28.0"
100 },
101 "peerDependencies": {
102 "@types/react": ">=16.8.0",
103 "react": ">=16.8.0"
104 },
105 "peerDependenciesMeta": {
106 "@types/react": {
107 "optional": true
108 }
109 },
110 "ava": {
111 "extensions": [
112 "ts",
113 "tsx"
114 ],
115 "require": [
116 "ts-node/register/transpile-only"
117 ]
118 },
119 "xo": {
120 "extends": [
121 "xo-react"
122 ],
123 "plugins": [
124 "react"
125 ],
126 "prettier": true,
127 "rules": {
128 "react/no-unescaped-entities": "off",
129 "react/state-in-constructor": "off",
130 "react/jsx-indent": "off"
131 },
132 "overrides": [
133 {
134 "files": [
135 "src/**/*.{ts,tsx}",
136 "test/**/*.{ts,tsx}"
137 ],
138 "rules": {
139 "no-unused-expressions": "off",
140 "camelcase": [
141 "error",
142 {
143 "allow": [
144 "^unstable__",
145 "^internal_"
146 ]
147 }
148 ],
149 "unicorn/filename-case": "off",
150 "react/prop-types": "off",
151 "react/default-props-match-prop-types": "off",
152 "unicorn/prevent-abbreviations": "off",
153 "react/require-default-props": "warn",
154 "react/jsx-curly-brace-presence": "off",
155 "@typescript-eslint/no-empty-function": "warn",
156 "@typescript-eslint/promise-function-async": "warn",
157 "@typescript-eslint/explicit-function-return": "off",
158 "@typescript-eslint/explicit-function-return-type": "off"
159 }
160 },
161 {
162 "files": [
163 "examples/**/*.js"
164 ],
165 "rules": {
166 "react/prop-types": "off"
167 }
168 }
169 ]
170 },
171 "prettier": "@vdemedes/prettier-config"
172}