/
package.json
172 lines (172 loc) Β· 3.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"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-devtools-core": "^4.19.1",
"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.4",
"@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.9.0",
"p-queue": "^6.2.1",
"prettier": "^2.0.4",
"react": "^17.0.2",
"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"
},
"peerDependenciesMeta": {
"@types/react": {
"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"
}