mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
This change removes useCallbag hook, it also reverts back changes for
hooks that only have tiny dependencies or dependencies that could have
been part of the hook itself. Effectivly only KeyboardJS and Rebound are
large packages that only partially are used by react-use, hence require
user to install them separately.
BREAKING CHANGE: 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
separately
89 lines
2.3 KiB
JSON
89 lines
2.3 KiB
JSON
{
|
|
"name": "react-use",
|
|
"version": "5.13.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.0.0",
|
|
"react-wait": "^0.3.0",
|
|
"throttle-debounce": "^2.0.1",
|
|
"ts-easing": "^0.2.0",
|
|
"use-onclickoutside": "^0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^16.8.2",
|
|
"keyboardjs": "^2.5.1",
|
|
"rebound": "^0.1.0",
|
|
"use-onclickoutside": "^0.3.0",
|
|
"@semantic-release/changelog": "3.0.2",
|
|
"@semantic-release/git": "7.0.8",
|
|
"@semantic-release/npm": "5.1.4",
|
|
"@storybook/addon-actions": "5.0.3",
|
|
"@storybook/addon-knobs": "5.0.3",
|
|
"@storybook/addon-notes": "5.0.3",
|
|
"@storybook/addon-options": "5.0.3",
|
|
"@storybook/react": "5.0.3",
|
|
"babel-core": "6.26.3",
|
|
"callbag-interval": "1.1.0",
|
|
"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"
|
|
]
|
|
}
|
|
}
|