UNPKG

rooks

Version:

Essential React custom hooks ⚓ to super charge your components!

164 lines (163 loc) 5.28 kB
{ "name": "rooks", "version": "6.4.3", "description": "Essential React custom hooks ⚓ to super charge your components!", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "unpkg": "dist/umd/rooks.umd.js", "types": "dist/types/index.d.ts", "typings": "dist/types/index.d.ts", "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://react-hooks.org", "repository": { "type": "git", "url": "https://github.com/imbhargav5/rooks.git" }, "bugs": "https://github.com/imbhargav5/rooks/issues", "scripts": { "clean": "rimraf dist lib src/hooks/**.d.ts src/__tests__/**.d.ts", "commit": "cz", "lint": "eslint src/**/*.ts", "format": "yarn run prettier --write \"./src/*.+(js|jsx|ts|tsx)\" && yarn run prettier --write \"./docs/*.+(md|mdxx)\"", "test": "jest", "coverage": "yarn test --coverage", "prebuild": "rimraf dist", "build:esm": "tsc -m esNext --outDir dist/esm && resolve-tspaths -o dist/esm", "build:cjs": "tsc -m commonjs --outDir dist/cjs && resolve-tspaths -o dist/cjs", "build:umd": "rollup -c rollup.config.ts --configPlugin typescript", "build:types": "rollup -c dts.rollup.config.js", "build": "yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:types" }, "dependencies": { "lodash.debounce": "^4.0.8", "raf": "^3.4.1" }, "devDependencies": { "@babel/cli": "7.18.9", "@babel/core": "7.18.9", "@babel/plugin-external-helpers": "7.18.6", "@babel/plugin-proposal-export-default-from": "7.18.9", "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", "@babel/preset-env": "7.18.9", "@babel/preset-react": "7.18.6", "@rollup/plugin-babel": "^5.2.1", "@rollup/plugin-commonjs": "^18.1.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-multi-entry": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-typescript": "^8.3.3", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.3.0", "@types/jest": "^27.5.2", "@types/lodash.debounce": "^4.0.6", "@types/raf": "^3.4.0", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.0", "@widgetbot/embed-api": "^1.1.3", "@widgetbot/react-embed": "^1.4.1", "all-contributors-cli": "^6.20.0", "assert": "^2.0.0", "babel-core": "^7.0.0-bridge.0", "babel-loader": "8.2.5", "babel-plugin-prismjs": "2.1.0", "babel-preset-minify": "0.5.2", "browser-env": "3.3.0", "camel-case": "^4.1.2", "chalk": "5.0.1", "classnames": "^2.3.1", "clsx": "^1.2.1", "conventional-changelog-cli": "^2.2.2", "cz-conventional-changelog": "3.3.0", "es-main": "^1.2.0", "esbuild": "^0.14.49", "esbuild-jest": "^0.5.0", "execa": "^6.1.0", "fs-extra": "^10.0.0", "glob": "^8.0.3", "gulp": "^4.0.2", "gulp-conventional-changelog": "^2.0.35", "husky": "^8.0.1", "inquirer": "8.2.4", "jest": "^27.5.1", "jest-dom": "^4.0.0", "jest-localstorage-mock": "^2.4.21", "lodash.capitalize": "4.2.1", "lodash.sortby": "^4.7.0", "lodash.truncate": "^4.4.2", "make-dir": "3.1.0", "mdast-normalize-headings": "^3.1.0", "mdast-util-compact": "^4.1.0", "mdast-util-from-markdown": "^1.2.0", "mdast-util-heading-range": "^3.1.0", "mdast-util-to-markdown": "^1.3.0", "mdast-zone": "^5.1.0", "meow": "10.1.3", "mini-css-extract-plugin": "2.6.1", "np": "^7.6.2", "ora": "6.1.0", "pkg-dir": "^5.0.0", "prettier": "^2.7.1", "react": "18.2.0", "react-dom": "18.1.0", "react-test-renderer": "18.2.0", "read-pkg-up": "9.1.0", "readline-sync": "^1.4.10", "remark": "^14.0.2", "remark-behead": "^3.0.0", "remark-frontmatter": "^4.0.1", "remark-preset-lint-markdown-style-guide": "^5.1.2", "remark-strip-badges": "^6.0.1", "resolve-tspaths": "^0.7.1", "rollup": "^2.33.3", "rollup-plugin-dts": "^2.0.1", "rollup-plugin-esbuild": "^4.0.1", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.32.1", "shelljs": "0.8.5", "terser": "^5.14.2", "ts-jest": "^28.0.7", "ts-node": "^9.1.1", "tsconfig": "*", "tslib": "^2.4.0", "typescript": "^4.3.5", "unified": "^10.1.2", "unist-util-find": "^1.0.2", "unist-util-find-all-after": "^4.0.0", "unist-util-find-all-before": "^4.0.0", "unist-util-find-all-between": "^2.1.0", "unist-util-visit": "^4.1.0", "vfile": "^5.3.4", "vfile-reporter": "^7.0.4", "webpack": "5.73.0", "webpack-cli": "^4.10.0", "write-pkg": "5.1.0", "wsrun": "^5.2.4", "yargs": "^17.5.1" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "keywords": [ "react", "hooks", "custom", "custom-hooks", "typescript", "react-hooks" ], "publishConfig": { "access": "public" } }