UNPKG

2.64 kBJSONView Raw
1{
2 "name": "ink",
3 "version": "2.0.4",
4 "description": "React for CLI",
5 "license": "MIT",
6 "repository": "vadimdemedes/ink",
7 "author": {
8 "name": "vdemedes",
9 "email": "vdemedes@gmail.com",
10 "url": "github.com/vadimdemedes"
11 },
12 "main": "build",
13 "engines": {
14 "node": ">=8"
15 },
16 "scripts": {
17 "build": "babel src --out-dir=build",
18 "prepare": "npm run build",
19 "test": "xo && FORCE_COLOR=true ava",
20 "pretest": "npm run build",
21 "cast": "svg-term --command='node media/demo.js' --out=media/demo.svg --from=100 --window --width=50 --height=8 --term=iterm2 --profile=Snazzy"
22 },
23 "types": "index.d.ts",
24 "files": [
25 "build",
26 "index.d.ts"
27 ],
28 "keywords": [
29 "react",
30 "cli",
31 "jsx",
32 "stdout",
33 "components",
34 "command-line",
35 "preact",
36 "redux",
37 "print",
38 "render",
39 "colors",
40 "text"
41 ],
42 "dependencies": {
43 "@types/react": "^16.8.6",
44 "arrify": "^1.0.1",
45 "auto-bind": "^2.0.0",
46 "chalk": "^2.4.1",
47 "cli-cursor": "^2.1.0",
48 "lodash.throttle": "^4.1.1",
49 "log-update": "^3.0.0",
50 "prop-types": "^15.6.2",
51 "react-reconciler": "^0.20.0",
52 "scheduler": "^0.13.2",
53 "slice-ansi": "^1.0.0",
54 "string-length": "^2.0.0",
55 "widest-line": "^2.0.0",
56 "yoga-layout-prebuilt": "^1.9.3"
57 },
58 "devDependencies": {
59 "@babel/cli": "^7.1.2",
60 "@babel/core": "^7.1.2",
61 "@babel/plugin-proposal-class-properties": "^7.1.0",
62 "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
63 "@babel/preset-react": "^7.0.0",
64 "ava": "^1.3.1",
65 "babel-eslint": "^10.0.1",
66 "delay": "^4.1.0",
67 "eslint-config-xo-react": "^0.19.0",
68 "eslint-plugin-react": "^7.11.1",
69 "eslint-plugin-react-hooks": "^1.4.0",
70 "import-jsx": "^1.3.0",
71 "ms": "^2.1.1",
72 "node-pty": "^0.8.1",
73 "p-queue": "^3.0.0",
74 "react": "^16.6.1",
75 "sinon": "^7.2.7",
76 "svg-term-cli": "^2.1.1",
77 "xo": "^0.24.0"
78 },
79 "peerDependencies": {
80 "react": ">=16.8.0"
81 },
82 "babel": {
83 "plugins": [
84 "@babel/plugin-proposal-class-properties",
85 "@babel/plugin-proposal-object-rest-spread",
86 "@babel/plugin-transform-modules-commonjs"
87 ],
88 "presets": [
89 "@babel/preset-react"
90 ]
91 },
92 "ava": {
93 "babel": {
94 "testOptions": {
95 "plugins": [
96 "@babel/plugin-proposal-class-properties",
97 "@babel/plugin-proposal-object-rest-spread",
98 "@babel/plugin-transform-modules-commonjs"
99 ],
100 "presets": [
101 "@babel/preset-react"
102 ]
103 }
104 }
105 },
106 "xo": {
107 "parser": "babel-eslint",
108 "extends": [
109 "xo-react"
110 ],
111 "plugins": [
112 "react"
113 ],
114 "overrides": [
115 {
116 "files": "src/components/*.js",
117 "rules": {
118 "unicorn/filename-case": "off",
119 "react/require-default-props": "warning"
120 }
121 }
122 ]
123 }
124}