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