UNPKG

rooks

Version:

Essential React custom hooks ⚓ to super charge your components!

179 lines 5.49 kB
{ "name": "rooks", "version": "8.0.1", "description": "Essential React custom hooks ⚓ to super charge your components!", "module": "dist/esm/index.js", "main": "dist/cjs/index.js", "unpkg": "dist/umd/rooks.umd.js", "jsdelivr": "dist/umd/rooks.umd.js", "types": "dist/types/index.d.ts", "typings": "dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "module": "./dist/esm/index.js", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "default": "./dist/cjs/index.js" }, "./package.json": "./package.json" }, "sideEffects": false, "license": "MIT", "devEngines": { "node": "^12.17.0 || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x" }, "engines": { "node": ">=v10.24.1" }, "homepage": "https://rooks.vercel.app/", "repository": { "type": "git", "url": "https://github.com/imbhargav5/rooks.git" }, "bugs": "https://github.com/imbhargav5/rooks/issues", "dependencies": { "fast-deep-equal": "^3.1.3", "lodash.debounce": "^4.0.8", "raf": "^3.4.1", "use-sync-external-store": "^1.4.0" }, "devDependencies": { "@babel/cli": "7.26.4", "@babel/core": "7.26.10", "@babel/plugin-external-helpers": "7.25.9", "@babel/plugin-proposal-export-default-from": "7.25.9", "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", "@babel/preset-env": "7.26.9", "@babel/preset-react": "7.26.3", "@react-types/shared": "^3.28.0", "@size-limit/file": "^11.2.0", "@size-limit/webpack": "^11.2.0", "@size-limit/webpack-why": "^11.2.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.16", "@types/lodash.debounce": "^4.0.9", "@types/raf": "^3.4.3", "@types/react": "^19.0.11", "@types/react-dom": "^19.0.4", "@types/react-test-renderer": "^19.0.0", "@types/use-sync-external-store": "^0.0.6", "@widgetbot/embed-api": "^1.2.17", "@widgetbot/react-embed": "^1.9.0", "all-contributors-cli": "^6.26.1", "assert": "^2.1.0", "babel-core": "7.0.0-bridge.0", "babel-loader": "10.0.0", "babel-plugin-prismjs": "2.1.0", "babel-preset-minify": "0.5.2", "browser-env": "3.3.0", "camel-case": "^5.0.0", "chalk": "5.4.1", "classnames": "^2.5.1", "clsx": "^2.1.1", "conventional-changelog-cli": "^5.0.0", "cz-conventional-changelog": "3.3.0", "es-check": "^8.0.2", "es-main": "^1.3.0", "esbuild": "^0.25.1", "esbuild-jest": "^0.5.0", "esbuild-plugin-d.ts": "^1.3.1", "eslint": "^9.22.0", "execa": "^9.5.2", "fs-extra": "^11.3.0", "glob": "^11.0.1", "gulp": "^5.0.0", "gulp-conventional-changelog": "^5.0.0", "husky": "^9.1.7", "inquirer": "12.5.0", "jest": "^29.7.0", "jest-dom": "^4.0.0", "jest-environment-jsdom": "^29.7.0", "jest-environment-node": "^29.7.0", "jest-localstorage-mock": "^2.4.26", "lodash.capitalize": "4.2.1", "lodash.sortby": "^4.7.0", "lodash.truncate": "^4.4.2", "make-dir": "5.0.0", "mdast-normalize-headings": "^4.0.0", "mdast-util-compact": "^5.0.0", "mdast-util-from-markdown": "^2.0.2", "mdast-util-heading-range": "^4.0.0", "mdast-util-to-markdown": "^2.1.2", "mdast-zone": "^6.1.0", "meow": "13.2.0", "mini-css-extract-plugin": "2.9.2", "np": "^10.2.0", "ora": "8.2.0", "pkg-dir": "^8.0.0", "prettier": "^3.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "react-test-renderer": "^19.0.0", "read-pkg-up": "11.0.0", "readline-sync": "^1.4.10", "remark": "^15.0.1", "remark-behead": "^3.1.0", "remark-frontmatter": "^5.0.0", "remark-preset-lint-markdown-style-guide": "^6.0.1", "remark-strip-badges": "^7.0.0", "rimraf": "^6.0.1", "size-limit": "^11.2.0", "terser": "^5.39.0", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "tsconfig": "^7.0.0", "tslib": "^2.8.1", "typescript": "^5.8.2", "unified": "^11.0.5", "unist-util-find": "^3.0.0", "unist-util-find-all-after": "^5.0.0", "unist-util-find-all-before": "^5.0.0", "unist-util-find-all-between": "^2.1.0", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3", "vfile-reporter": "^8.1.1", "webpack": "5.98.0", "webpack-cli": "^6.0.1", "write-pkg": "7.0.0", "wsrun": "^5.2.4", "yargs": "^17.7.2", "@repo/eslint-config": "0.1.0", "@repo/typescript-config": "0.1.0" }, "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0" }, "keywords": [ "react", "hooks", "custom", "custom-hooks", "typescript", "react-hooks" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf dist lib", "commit": "cz", "lint": "eslint src/**/*.ts", "format": "pnpm run prettier --write \"./src/*.+(js|jsx|ts|tsx)\" && pnpm run prettier --write \"./docs/*.+(md|mdxx)\"", "test": "jest", "typecheck": "tsc -p ./tsconfig.json --noEmit", "check:dist": "es-check", "check:size": "size-limit --highlight-less", "coverage": "jest --coverage", "prebuild": "rimraf dist", "build": "node build.js", "test-ct": "playwright test -c playwright-ct.config.ts", "tsc": "tsc --noEmit", "test-hooks": "jest" } }