| 1 |
{ |
| 2 |
"name": "ink", |
| 3 |
"version": "2.3.0", |
| 4 |
"description": "React for CLI", |
| 5 |
"license": "MIT", |
| 6 |
"repository": "vadimdemedes/ink", |
| 7 |
"author": { |
| 8 |
"name": "vdemedes", |
| 9 |
"email": "[email protected]", |
| 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 |
"cli-truncate": "^1.1.0", |
| 49 |
"is-ci": "^2.0.0", |
| 50 |
"lodash.throttle": "^4.1.1", |
| 51 |
"log-update": "^3.0.0", |
| 52 |
"prop-types": "^15.6.2", |
| 53 |
"react-reconciler": "^0.20.0", |
| 54 |
"scheduler": "^0.13.2", |
| 55 |
"signal-exit": "^3.0.2", |
| 56 |
"slice-ansi": "^1.0.0", |
| 57 |
"string-length": "^2.0.0", |
| 58 |
"widest-line": "^2.0.0", |
| 59 |
"wrap-ansi": "^5.0.0", |
| 60 |
"yoga-layout-prebuilt": "^1.9.3" |
| 61 |
}, |
| 62 |
"devDependencies": { |
| 63 |
"@babel/cli": "^7.1.2", |
| 64 |
"@babel/core": "^7.1.2", |
| 65 |
"@babel/plugin-proposal-class-properties": "^7.1.0", |
| 66 |
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", |
| 67 |
"@babel/preset-react": "^7.0.0", |
| 68 |
"ava": "^1.3.1", |
| 69 |
"babel-eslint": "^10.0.1", |
| 70 |
"delay": "^4.1.0", |
| 71 |
"eslint-config-xo-react": "^0.19.0", |
| 72 |
"eslint-plugin-react": "^7.11.1", |
| 73 |
"eslint-plugin-react-hooks": "^1.4.0", |
| 74 |
"import-jsx": "^1.3.0", |
| 75 |
"ms": "^2.1.1", |
| 76 |
"node-pty": "^0.8.1", |
| 77 |
"p-queue": "^3.0.0", |
| 78 |
"react": "^16.6.1", |
| 79 |
"sinon": "^7.2.7", |
| 80 |
"strip-ansi": "^5.2.0", |
| 81 |
"svg-term-cli": "^2.1.1", |
| 82 |
"xo": "^0.24.0" |
| 83 |
}, |
| 84 |
"peerDependencies": { |
| 85 |
"react": ">=16.8.0" |
| 86 |
}, |
| 87 |
"babel": { |
| 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 |
"ava": { |
| 98 |
"babel": { |
| 99 |
"testOptions": { |
| 100 |
"plugins": [ |
| 101 |
"@babel/plugin-proposal-class-properties", |
| 102 |
"@babel/plugin-proposal-object-rest-spread", |
| 103 |
"@babel/plugin-transform-modules-commonjs" |
| 104 |
], |
| 105 |
"presets": [ |
| 106 |
"@babel/preset-react" |
| 107 |
] |
| 108 |
} |
| 109 |
} |
| 110 |
}, |
| 111 |
"xo": { |
| 112 |
"parser": "babel-eslint", |
| 113 |
"extends": [ |
| 114 |
"xo-react" |
| 115 |
], |
| 116 |
"plugins": [ |
| 117 |
"react" |
| 118 |
], |
| 119 |
"overrides": [ |
| 120 |
{ |
| 121 |
"files": "src/components/*.js", |
| 122 |
"rules": { |
| 123 |
"unicorn/filename-case": "off", |
| 124 |
"react/require-default-props": "warning" |
| 125 |
} |
| 126 |
} |
| 127 |
] |
| 128 |
} |
| 129 |
} |