mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
# [6.0.0](https://github.com/streamich/react-use/compare/v5.16.1...v6.0.0) (2019-03-26) ### Bug Fixes * 🐛 bump nano-css ([f1f36dc](https://github.com/streamich/react-use/commit/f1f36dc)), closes [#90](https://github.com/streamich/react-use/issues/90) * 🐛 don't throw only in development ([f5faba5](https://github.com/streamich/react-use/commit/f5faba5)) ### chore * 🤖 don't install only large dependencies ([6170067](https://github.com/streamich/react-use/commit/6170067)) ### Features * 🎸 add {bound} option to useMouse ([9bb02a1](https://github.com/streamich/react-use/commit/9bb02a1)) * 🎸 implement useClickAway, remove useOutsideClick ([a03143a](https://github.com/streamich/react-use/commit/a03143a)) * 🎸 keep global state of all useLockBodyScroll hooks ([5dd10e9](https://github.com/streamich/react-use/commit/5dd10e9)) * 🎸 move extra mouse functionality into useMouseHovered ([8b0580e](https://github.com/streamich/react-use/commit/8b0580e)) * more precise size for useMouse ([b887075](https://github.com/streamich/react-use/commit/b887075)) ### BREAKING CHANGES * 🧨 error is logged instead of thrown in development environment * 🧨 useOutsideClick is now useClickAway * 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed separately
86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"name": "react-use",
|
|
"version": "6.0.0",
|
|
"description": "Collection of React Hooks",
|
|
"main": "lib/index.js",
|
|
"files": [
|
|
"lib/"
|
|
],
|
|
"types": "lib/index.d.ts",
|
|
"typings": "lib/index.d.ts",
|
|
"scripts": {
|
|
"start": "yarn storybook",
|
|
"test": "echo hmm...",
|
|
"build": "tsc",
|
|
"clean": "rimraf lib storybook-static",
|
|
"storybook": "start-storybook -p 6008",
|
|
"storybook:build": "build-storybook",
|
|
"storybook:upload": "gh-pages -d storybook-static",
|
|
"storybook:clean": "rimraf storybook-static",
|
|
"release": "semantic-release"
|
|
},
|
|
"author": "@streamich",
|
|
"license": "Unlicense",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/streamich/react-use"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/streamich/react-use/issues"
|
|
},
|
|
"homepage": "https://github.com/streamich/react-use#readme",
|
|
"dependencies": {
|
|
"nano-css": "^5.1.0",
|
|
"react-wait": "^0.3.0",
|
|
"throttle-debounce": "^2.0.1",
|
|
"ts-easing": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^16.8.2",
|
|
"keyboardjs": "^2.5.1",
|
|
"rebound": "^0.1.0",
|
|
"@semantic-release/changelog": "3.0.2",
|
|
"@semantic-release/git": "7.0.8",
|
|
"@semantic-release/npm": "5.1.4",
|
|
"@storybook/addon-actions": "5.0.5",
|
|
"@storybook/addon-knobs": "5.0.5",
|
|
"@storybook/addon-notes": "5.0.5",
|
|
"@storybook/addon-options": "5.0.5",
|
|
"@storybook/react": "5.0.5",
|
|
"babel-core": "6.26.3",
|
|
"fork-ts-checker-webpack-plugin": "1.0.0",
|
|
"gh-pages": "2.0.1",
|
|
"markdown-loader": "5.0.0",
|
|
"react": "16.8.4",
|
|
"react-dom": "16.8.4",
|
|
"react-spring": "6.1.10",
|
|
"rimraf": "2.6.3",
|
|
"rxjs": "6.4.0",
|
|
"semantic-release": "15.13.3",
|
|
"ts-loader": "5.3.3",
|
|
"ts-node": "8.0.3",
|
|
"typescript": "3.3.4000"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0",
|
|
"react-dom": "^16.8.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "git-cz"
|
|
}
|
|
},
|
|
"release": {
|
|
"verifyConditions": [
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/git"
|
|
],
|
|
"prepare": [
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/git"
|
|
]
|
|
}
|
|
}
|