mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
## [8.1.4](https://github.com/streamich/react-use/compare/v8.1.3...v8.1.4) (2019-04-23) ### Bug Fixes * 🐛 support click away on iOS, allow user to chose events ([f14e1d7](https://github.com/streamich/react-use/commit/f14e1d7))
133 lines
3.4 KiB
JSON
133 lines
3.4 KiB
JSON
{
|
|
"name": "react-use",
|
|
"version": "8.1.4",
|
|
"description": "Collection of React Hooks",
|
|
"main": "lib/index.js",
|
|
"module": "esm/index.js",
|
|
"files": [
|
|
"lib/",
|
|
"esm/"
|
|
],
|
|
"types": "lib/index.d.ts",
|
|
"typings": "lib/index.d.ts",
|
|
"scripts": {
|
|
"start": "yarn storybook",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "tslint 'src/**/*.{ts,tsx}' -t verbose",
|
|
"lint:fix": "yarn lint --fix",
|
|
"lint:types": "tsc --noEmit",
|
|
"build:cjs": "tsc",
|
|
"build:es": "tsc -m esNext --outDir esm",
|
|
"build": "yarn build:cjs && yarn build:es",
|
|
"clean": "rimraf lib storybook-static esm",
|
|
"storybook": "start-storybook -p 6008",
|
|
"storybook:build": "build-storybook",
|
|
"storybook:upload": "gh-pages -d storybook-static",
|
|
"storybook:clean": "rimraf storybook-static",
|
|
"release": "semantic-release"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint:types && lint-staged"
|
|
}
|
|
},
|
|
"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": {
|
|
"copy-to-clipboard": "^3.1.0",
|
|
"nano-css": "^5.1.0",
|
|
"react-fast-compare": "^2.0.4",
|
|
"react-wait": "^0.3.0",
|
|
"screenfull": "^4.1.0",
|
|
"throttle-debounce": "^2.0.1",
|
|
"ts-easing": "^0.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"keyboardjs": "*",
|
|
"react": "^16.8.0",
|
|
"react-dom": "^16.8.0",
|
|
"rebound": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.4.3",
|
|
"@babel/preset-env": "7.4.3",
|
|
"@babel/preset-react": "7.0.0",
|
|
"@babel/preset-typescript": "7.3.3",
|
|
"@semantic-release/changelog": "3.0.2",
|
|
"@semantic-release/git": "7.0.8",
|
|
"@semantic-release/npm": "5.1.4",
|
|
"@storybook/addon-actions": "5.0.10",
|
|
"@storybook/addon-knobs": "5.0.10",
|
|
"@storybook/addon-notes": "5.0.10",
|
|
"@storybook/addon-options": "5.0.10",
|
|
"@storybook/react": "5.0.10",
|
|
"@types/jest": "24.0.11",
|
|
"@types/react": "16.8.14",
|
|
"babel-core": "6.26.3",
|
|
"babel-loader": "8.0.5",
|
|
"fork-ts-checker-webpack-plugin": "1.2.0",
|
|
"gh-pages": "2.0.1",
|
|
"husky": "1.3.1",
|
|
"jest": "24.7.1",
|
|
"keyboardjs": "2.5.1",
|
|
"lint-staged": "8.1.5",
|
|
"markdown-loader": "5.0.0",
|
|
"prettier": "1.17.0",
|
|
"react": "16.8.4",
|
|
"react-dom": "16.8.4",
|
|
"react-hooks-testing-library": "0.4.1",
|
|
"react-spring": "6.1.10",
|
|
"rebound": "0.1.0",
|
|
"rimraf": "2.6.3",
|
|
"rxjs": "6.5.1",
|
|
"semantic-release": "15.13.3",
|
|
"ts-loader": "5.4.3",
|
|
"ts-node": "8.1.0",
|
|
"tslint": "5.16.0",
|
|
"tslint-config-prettier": "1.18.0",
|
|
"tslint-eslint-rules": "5.4.0",
|
|
"tslint-plugin-prettier": "2.0.1",
|
|
"tslint-react": "4.0.0",
|
|
"typescript": "3.4.4"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "git-cz"
|
|
}
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"master",
|
|
{
|
|
"name": "next",
|
|
"prerelease": "rc"
|
|
}
|
|
],
|
|
"verifyConditions": [
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/git"
|
|
],
|
|
"prepare": [
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/git"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx}": [
|
|
"tslint --fix -t verbose",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|