{"name":"ink-box","version":"0.1.0","description":"Box component for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ink-box.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"main":"dist.js","engines":{"node":">=6"},"scripts":{"build":"babel index.js --out-file=dist.js","prepublish":"npm run build","pretest":"npm run build","test":"xo && ava"},"files":["dist.js"],"keywords":["ink-component","ink","component","box","boxen","boxes","border","react","jsx","terminal","term","console","command-line"],"dependencies":{"boxen":"^1.3.0","prop-types":"^15.6.1"},"devDependencies":{"ava":"*","babel-cli":"^6.26.0","babel-plugin-transform-react-jsx":"^6.24.1","clear-module":"^2.1.0","eslint-config-xo-react":"^0.16.0","eslint-plugin-react":"^7.7.0","ink":"^0.4.1","strip-ansi":"^4.0.0","xo":"*"},"babel":{"presets":["@ava/stage-4"],"plugins":[["transform-react-jsx",{"pragma":"h","useBuiltIns":true}]]},"ava":{"babel":"inherit"},"xo":{"extends":["xo-react"],"ignores":["dist.js"],"settings":{"react":{"pragma":"h"}},"rules":{"react/require-default-props":"off","react/no-unused-prop-types":"off"}},"gitHead":"4c9cf89e99f9b440dd5c4b9b4297c74cd9910631","bugs":{"url":"https://github.com/sindresorhus/ink-box/issues"},"homepage":"https://github.com/sindresorhus/ink-box#readme","_id":"ink-box@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-JNMn/CygaSnyrUmm1nDEH8u7kFWqf1qA9rHWUbKpW1n1CCsjVF2fRDQSrdiZCj8ZCsinxMB0JgSnvh9xSbyn6w==","shasum":"b83222ad6f89b4d7f948e3e2a4b827d7755ee122","tarball":"http://registry-npm.ywwl.com/ink-box/download/ink-box-0.1.0.tgz","fileCount":4,"unpackedSize":5217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD08pPHY+IQYUt1vFtV+vy6qugWDuqMCeVbv8cy44V9lQIgX+azwVszR23tvd3NoIH7YyC1Ai0sKZ25cxXK+OnKuP8="}],"size":2354,"noattachment":false,"key":"/ink-box/-/ink-box-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box_0.1.0_1522648077053_0.08116237597323828"},"_hasShrinkwrap":false,"readme":"This is deprecated as Ink has a builtin `Box` component now.\n\n---\n\n# ink-box\n\n> Styled box component for [Ink](https://github.com/vadimdemedes/ink)\n\n![](screenshot.png)\n\n\n## Install\n\n```\n$ npm install ink-box\n```\n\n\n## Usage\n\n```js\nimport React from 'react';\nimport {render, Color} from 'ink';\nimport Box from 'ink-box';\n\nrender(\n\t<Box borderStyle=\"round\" borderColor=\"cyan\" float=\"center\" padding={1}>\n\t\tI Love <Color magenta>Unicorns</Color>\n\t</Box>\n);\n```\n\n\n## API\n\n### `<Box>`\n\nProps are passed as options to [`boxen`](https://github.com/sindresorhus/boxen#options).\n\n\n## Related\n\n- [ink-gradient](https://github.com/sindresorhus/ink-gradient) - Gradient color component for Ink\n- [ink-link](https://github.com/sindresorhus/ink-link) - Link component for Ink\n- [ink-big-text](https://github.com/sindresorhus/ink-big-text) - Awesome text component for Ink\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1522648077201,"_cnpm_publish_time":1522648077201,"dist-tags":{"latest":"2.0.0"}}