{"name":"rc-touchable","version":"1.3.0","description":"React Touchable Component","keywords":["react","touchable","component"],"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"},"license":"MIT","files":["lib","es"],"main":"./lib/index","module":"./es/index","config":{"port":8007},"scripts":{"compile":"rc-tools run compile","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","test":"rc-test run test","chrome-test":"rc-test run chrome-test","coverage":"rc-test run coverage"},"devDependencies":{"@types/mocha":"~2.2.32","@types/react":"^15.0.38","@types/react-dom":"^15.5.1","expect.js":"~0.3.1","pre-commit":"1.x","rc-tools":"6.x","rc-test":"6.x","react":"15.x","react-dom":"15.x"},"pre-commit":["lint"],"typings":"./lib/index.d.ts","dependencies":{"babel-runtime":"6.x"},"gitHead":"7da30c8863b029a2405f647086a0f11490db7531","_id":"rc-touchable@1.3.0","_npmVersion":"6.0.0","_nodeVersion":"8.11.1","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"dist":{"integrity":"sha512-bhibWc8zQYgi53UrsT37aG08DYGQinoflv9OqzHF/fXT04HLPAvUzHFulb/Qb7QvMwk1Fxe3nhTNfHZTmp7jpA==","shasum":"8972b3b30522f30223d9c8e98f150ff2c45b42cb","tarball":"http://registry-npm.ywwl.com/rc-touchable/download/rc-touchable-1.3.0.tgz","fileCount":12,"unpackedSize":64888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWXEQCRA9TVsSAnZWagAAa+EQAJ2o/nsxMX2j6BDtSjUm\nrtQZlz+rkD6+1C5aavc3d0DX6BO7vfxdejyUVQwPPMQ+OhjhxwUvusXBUOf+\nIYmRsFsxNhBX7kfX0eFjMKzhwGX01bVAzC/8F/t4LxS4znsmS8dC/6oojW2X\nssUnhkngE9jVjVYxjrxq0DAmikOzq8eCtNOklMVC3mrzoWLOSPOVy+qF9MTO\nnHBW78Nlp0f03SuQneQPSQKtTlO88ZxH1WHmSW0mjSTJwq+9NAJAHC9IG4jm\ntWT5HSjSZCjVtxD2EU3S6pCUqHHOozqOZ4sDJ0PkUvqWYlHwNdIK77CwrD8Q\n5ja7VezfOVHAruOE7OwWToZ7FqwhwEbo5aod11wtCHFAsPP7oo/tIl1x9tlD\n3YIE6T2/a14x2e7B2qgssrw5lda6Uw9Zo3ylmHHqC2deeBfcGAeF3SMwKIPX\nx/pu9gU9zudR8Lcczhbf5al9Ehi7nYIRELhPFV7nKsqjG5TIbZYoQ6hY+b57\n4OtV6eDMhasZ7TZNV3K0TGmmVTK3/otzMTqzz4kFtw2hAEIQROUQKzCmxXk3\nXEN3RFcidAgVUtDFa4UqPUFX7a6+Mli7uJMcNAdVSsii0ilNxsxVXHcEkvZw\n5gmqoR88fDah3Fy2v39JgGkMi6TimM42HfUUzMFfbV3H3WHfdWTNtlEplHiW\nZMAs\r\n=IQ7g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr2E2ExnBw7dqfED88sQoYMCI/rlrKEdngN+wtEJYObQIhALFkqFNku3S7xa2yE4ZmJcBqU+LrdRHt1DNYCos4/HSb"}],"size":11970,"noattachment":false,"key":"/rc-touchable/-/rc-touchable-1.3.0.tgz"},"maintainers":[{"name":"paranoidjk","email":"hust2012jiangkai@gmail.com"},{"name":"yiminghe","email":"yiminghe@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-touchable_1.3.0_1532588304211_0.6073367648237515"},"_hasShrinkwrap":false,"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":1532588304269,"_cnpm_publish_time":1532588304269,"dist-tags":{"latest":"1.3.2"}}