{"name":"rc-touchable","version":"0.0.1","description":"---","keywords":[],"homepage":"http://github.com/react-component/touchable","author":{"name":"yiminghe@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/touchable.git"},"bugs":{"url":"http://github.com/react-component/touchable/issues"},"licenses":"MIT","files":["lib"],"main":"./lib/index","config":{"port":8007},"scripts":{"watch-tsc":"rc-tools run watch-tsc","build":"rc-tools run build","gh-pages":"rc-tools run gh-pages","start":"rc-tools run server","pub":"rc-tools run pub --babel-runtime","lint":"rc-tools run lint --no-js-lint","karma":"rc-tools run karma","saucelabs":"rc-tools run saucelabs","test":"rc-tools run test","chrome-test":"rc-tools run chrome-test","coverage":"rc-tools run coverage"},"devDependencies":{"@types/mocha":"~2.2.32","@types/react":"~0.14.41","@types/react-dom":"~0.14.18","expect.js":"~0.3.1","pre-commit":"1.x","rc-tools":"5.x","react":"15.x","react-addons-test-utils":"15.x","react-dom":"15.x"},"pre-commit":["lint"],"typings":"./lib/index.d.ts","dependencies":{"babel-runtime":"6.x"},"_id":"rc-touchable@0.0.1","_shasum":"5a994d9f58b285b9c339dfbb20446d2d7044dc46","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"dist":{"shasum":"5a994d9f58b285b9c339dfbb20446d2d7044dc46","tarball":"http://registry-npm.ywwl.com/rc-touchable/download/rc-touchable-0.0.1.tgz","integrity":"sha512-CerWSfIlry3QqKTW38moE3N7MnDPgxSCKnQeT4c3LX6Vq5BwN+/nZIdxf9uXBIj6HPH/wm1gVot6uyTtfg1LGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8dlpjG/LTiIiYvhKqt656HqapNkQiHAdC6V26e2ZC4AiAm8Bfgq4IxgByeG1TUx2Io0zSoRZLNz8FViqbrRQKntQ=="}],"size":1232,"noattachment":false,"key":"/rc-touchable/-/rc-touchable-0.0.1.tgz"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rc-touchable-0.0.1.tgz_1480396841474_0.8915470342617482"},"directories":{},"readme":"# rc-touchable\n---\n\nreact touchable component. inspired by react-native.\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-touchable.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-touchable\n[travis-image]: https://img.shields.io/travis/react-component/touchable.svg?style=flat-square\n[travis-url]: https://travis-ci.org/react-component/touchable\n[coveralls-image]: https://img.shields.io/coveralls/react-component/touchable.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/react-component/touchable?branch=master\n[gemnasium-image]: http://img.shields.io/gemnasium/react-component/touchable.svg?style=flat-square\n[gemnasium-url]: https://gemnasium.com/react-component/touchable\n[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/rc-touchable.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-touchable\n\n## Install\n\n[![rc-touchable](https://nodei.co/npm/rc-touchable.png)](https://npmjs.org/package/rc-touchable)\n\n## Usage\n\n```js\nimport Touchable from 'rc-touchable';\nReactDOM.render(<Touchable onPress={onPress} activeClassName=\"active\">\n<div>click</div>\n</Touchable>, container);\n```\n\n## API\n\n<table class=\"table table-bordered table-striped\">\n    <thead>\n    <tr>\n        <th style=\"width: 100px;\">name</th>\n        <th style=\"width: 50px;\">type</th>\n        <th style=\"width: 50px;\">default</th>\n        <th>description</th>\n    </tr>\n    </thead>\n    <tbody>\n        <tr>\n          <td>disabled</td>\n          <td>boolean</td>\n          <td>false</td>\n          <td></td>\n        </tr>\n        <tr>\n          <td>onPress</td>\n          <td>()=>void</td>\n          <td></td>\n          <td>onPress/onTap callback</td>\n        </tr>\n        <tr>\n          <td>onLongPress</td>\n          <td>()=>void</td>\n          <td></td>\n          <td>onLongPress/onLongTap callback</td>\n        </tr>\n        <tr>\n          <td>activeClassName</td>\n          <td>string</td>\n          <td></td>\n          <td>className applied to child when active</td>\n        </tr>\n        <tr>\n          <td>activeStyle</td>\n          <td>object</td>\n          <td></td>\n          <td>style applied to child when active</td>\n        </tr>\n        <tr>\n          <td>activeStopPropagation</td>\n          <td>object</td>\n          <td></td>\n          <td>stop child active propagate to parent</td>\n        </tr>\n    </tbody>\n</table>\n\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://localhost:8007/examples/\n\nonline example: http://react-component.github.io/touchable/\n\n\n## Test Case\n\n```\nnpm test\nnpm run chrome-test\n```\n\n## Coverage\n\n```\nnpm run coverage\n```\n\nopen coverage/ dir\n\n\n## License\n\nrc-touchable is released under the MIT license.\n","publish_time":1480396842034,"_cnpm_publish_time":1480396842034,"dist-tags":{"latest":"1.3.2"}}