{ "name": "react-use", "version": "9.8.1", "description": "Collection of React Hooks", "main": "lib/index.js", "module": "esm/index.js", "sideEffects": false, "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", "pre-push": "yarn lint && yarn clean && yarn build && yarn test" } }, "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.5.0", "@babel/preset-env": "7.5.0", "@babel/preset-react": "7.0.0", "@babel/preset-typescript": "7.3.3", "@babel/plugin-syntax-dynamic-import": "7.2.0", "babel-plugin-dynamic-import-node": "2.3.0", "@semantic-release/changelog": "3.0.4", "@semantic-release/git": "7.0.16", "@semantic-release/npm": "5.1.13", "@storybook/addon-actions": "5.1.9", "@storybook/addon-knobs": "5.1.9", "@storybook/addon-notes": "5.1.9", "@storybook/addon-options": "5.1.9", "@storybook/react": "5.1.9", "@types/jest": "24.0.15", "@types/react": "16.8.23", "babel-core": "6.26.3", "babel-loader": "8.0.6", "fork-ts-checker-webpack-plugin": "1.3.7", "gh-pages": "2.0.1", "husky": "1.3.1", "jest": "24.8.0", "keyboardjs": "2.5.1", "lint-staged": "8.2.1", "markdown-loader": "5.0.0", "prettier": "1.17.1", "react": "16.8.6", "react-dom": "16.8.6", "react-hooks-testing-library": "0.4.1", "react-spring": "8.0.27", "rebound": "0.1.0", "redux-logger": "3.0.6", "redux-thunk": "2.3.0", "rimraf": "2.6.3", "rxjs": "6.5.2", "semantic-release": "15.13.18", "ts-loader": "5.4.5", "ts-node": "8.3.0", "tslint": "5.18.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.5.2" }, "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" ] }, "volta": { "node": "10.16.0", "yarn": "1.16.0" } }