@reactuses/core
Version:
Collection of 100+ essential React Hooks with TypeScript support, tree-shaking, and SSR compatibility. Sensors, browser APIs, state management, animations, and more.
163 lines (162 loc) • 3.96 kB
JSON
{
"name": "@reactuses/core",
"version": "6.4.0",
"description": "Collection of 100+ essential React Hooks with TypeScript support, tree-shaking, and SSR compatibility. Sensors, browser APIs, state management, animations, and more.",
"author": {
"name": "lianwenwu",
"url": "https://github.com/childrentime"
},
"license": "Unlicense",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/childrentime"
},
{
"type": "opencollective",
"url": "https://opencollective.com/reactuse"
}
],
"homepage": "https://www.reactuse.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/childrentime/reactuse.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/childrentime/reactuse/issues"
},
"keywords": [
"react",
"react-hooks",
"hooks",
"react-use",
"reactuse",
"typescript",
"tree-shaking",
"ssr",
"custom-hooks",
"react-utility",
"browser-hooks",
"sensor-hooks",
"state-hooks",
"utility-hooks",
"animation-hooks",
"nextjs",
"nextjs-hooks",
"remix",
"astro",
"vite",
"web-api",
"observer",
"react-mcp",
"mcp",
"react18",
"react19",
"useToggle",
"useDebounce",
"useThrottle",
"useLocalStorage",
"useSessionStorage",
"useMouse",
"useClipboard",
"useGeolocation",
"useIntersectionObserver",
"useResizeObserver",
"useMutationObserver",
"useMediaQuery",
"useDarkMode",
"useFullscreen",
"useIdle",
"useNetwork",
"useScroll",
"useWindowSize",
"useEventListener",
"vueuse"
],
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./useQRCode": {
"import": {
"types": "./dist/useQRCode.d.mts",
"default": "./dist/useQRCode.mjs"
},
"require": {
"types": "./dist/useQRCode.d.cts",
"default": "./dist/useQRCode.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"LICENSE",
"README.md",
"dist",
"package.json"
],
"scripts": {
"lint": "eslint \"{hooks,tests}/**/*.{ts,tsx}\"",
"build": "esno scripts/build.ts",
"build:bunchee": "bunchee",
"dev": "bunchee --watch",
"gend": "tsx scripts/tsdoc.ts",
"publish:ci": "esno scripts/publish.ts",
"release:prepare": "bump",
"release": "esno scripts/release.ts",
"test": "jest",
"test:coverage": "jest --coverage"
},
"peerDependencies": {
"qrcode": "^1.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"qrcode": {
"optional": true
}
},
"dependencies": {
"@microsoft/fetch-event-source": "^2.0.1",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"screenfull": "^5.0.0",
"use-sync-external-store": "^1.2.0"
},
"devDependencies": {
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@reactuses/ts-document": "workspace:*",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "^27.5.2",
"@types/js-cookie": "^3.0.3",
"@types/lodash": "^4.14.184",
"@types/lodash-es": "^4.17.7",
"@types/qrcode": "^1.5.5",
"@types/use-sync-external-store": "^0.0.6",
"babel-jest": "^29.0.2",
"consola": "^2.15.3",
"esbuild": "^0.19.11",
"esbuild-register": "^3.4.1",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"jest-environment-node": "^29.7.0",
"lodash": "^4.17.21",
"qrcode": "^1.5.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.3.3"
}
}