代码拉取完成,页面将自动刷新
同步操作将从 吴震宇/react-use 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"name": "react-use",
"version": "13.12.2",
"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 --maxWorkers 2",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "tslint '{src,tests}/**/*.{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 --git \"$(which git)\"",
"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": {
"@xobotyi/scrollbar-width": "1.5.0",
"copy-to-clipboard": "^3.2.0",
"nano-css": "^5.2.1",
"react-fast-compare": "^2.0.4",
"resize-observer-polyfill": "^1.5.1",
"screenfull": "^5.0.0",
"set-harmonic-interval": "^1.0.1",
"throttle-debounce": "^2.1.0",
"ts-easing": "^0.2.0",
"tslib": "^1.10.0"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@babel/core": "7.7.5",
"@babel/plugin-syntax-dynamic-import": "7.7.4",
"@babel/preset-env": "7.7.6",
"@babel/preset-react": "7.7.4",
"@babel/preset-typescript": "7.7.4",
"@semantic-release/changelog": "3.0.6",
"@semantic-release/git": "7.0.18",
"@semantic-release/npm": "5.3.4",
"@shopify/jest-dom-mocks": "2.8.7",
"@storybook/addon-actions": "5.2.8",
"@storybook/addon-knobs": "5.2.8",
"@storybook/addon-notes": "5.2.8",
"@storybook/addon-options": "5.2.8",
"@storybook/react": "5.2.8",
"@testing-library/react-hooks": "3.2.1",
"@types/jest": "24.0.23",
"@types/react": "16.9.11",
"babel-core": "6.26.3",
"babel-loader": "8.0.6",
"babel-plugin-dynamic-import-node": "2.3.0",
"fork-ts-checker-webpack-plugin": "3.1.1",
"gh-pages": "2.1.1",
"husky": "3.1.0",
"jest": "24.9.0",
"keyboardjs": "2.5.1",
"lint-staged": "9.5.0",
"markdown-loader": "5.1.0",
"prettier": "1.19.1",
"raf-stub": "3.0.0",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-frame-component": "4.1.1",
"react-spring": "8.0.27",
"react-test-renderer": "16.12.0",
"rebound": "0.1.0",
"redux-logger": "3.0.6",
"redux-thunk": "2.3.0",
"rimraf": "3.0.0",
"rxjs": "6.5.3",
"semantic-release": "15.13.31",
"ts-jest": "24.2.0",
"ts-loader": "6.2.1",
"ts-node": "8.5.4",
"tslint": "6.0.0-beta1",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tslint-plugin-prettier": "2.0.1",
"tslint-react": "4.1.0",
"typescript": "3.7.3"
},
"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.17.0",
"yarn": "1.21.1"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/react-use"
},
"jest": {
"preset": "ts-jest",
"clearMocks": true,
"coverageDirectory": "coverage",
"testMatch": [
"<rootDir>/tests/**/*.test.(ts|tsx)"
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。