mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
This implements 'usePress' in user-space as a combination of 'useKeyboard' and 'useTap'. The existing 'usePress' API is preserved for now. The previous 'usePress' implementation is moved to 'PressLegacy'.
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"name": "react-ui",
|
|
"private": true,
|
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
"keywords": [
|
|
"react"
|
|
],
|
|
"version": "0.1.0",
|
|
"homepage": "https://reactjs.org/",
|
|
"bugs": "https://github.com/facebook/react/issues",
|
|
"license": "MIT",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"events/README.md",
|
|
"events/context-menu.js",
|
|
"events/drag.js",
|
|
"events/focus.js",
|
|
"events/hover.js",
|
|
"events/input.js",
|
|
"events/keyboard.js",
|
|
"events/press.js",
|
|
"events/press-legacy.js",
|
|
"events/scroll.js",
|
|
"events/swipe.js",
|
|
"events/tap.js",
|
|
"build-info.json",
|
|
"cjs/",
|
|
"umd/"
|
|
],
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/react"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"dependencies": {
|
|
"loose-envify": "^1.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.0.0"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
}
|
|
}
|