UNPKG

@wethegit/react-hooks

Version:

A collection of helpers for use in React projects.

86 lines (85 loc) 2.18 kB
{ "name": "@wethegit/react-hooks", "version": "3.1.1", "description": "A collection of helpers for use in React projects.", "files": [ "dist" ], "type": "module", "main": "./dist/react-hooks.js", "types": "./dist/main.d.ts", "exports": { ".": { "import": { "types": "./dist/main.d.ts", "default": "./dist/react-hooks.js" }, "require": "./dist/react-hooks.cjs" } }, "scripts": { "dev": "vite", "start": "vite build --watch", "build": "rm -rf dist && vite build", "clean": "rm -rf dist node_modules .turbo", "typecheck": "tsc --noEmit", "lint": "eslint --fix" }, "publishConfig": { "access": "public" }, "keywords": [ "react", "hooks", "helpers", "local storage", "accessibility" ], "homepage": "https://wethegit.github.io/react-hooks/", "repository": { "type": "git", "url": "git+https://github.com/wethegit/react-hooks.git" }, "bugs": { "url": "https://github.com/wethegit/react-hooks/issues" }, "author": "Andrew Rubin <andrew@wethecollective.com> (https://wethecollective.com)", "license": "MIT", "devDependencies": { "@eslint/compat": "^1.2.1", "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.13.0", "@types/node": "~20.16.5", "@types/react": "~18.3.10", "@types/react-dom": "~18.3.0", "@typescript-eslint/eslint-plugin": "~8.19.1", "@typescript-eslint/parser": "~8.19.1", "@vitejs/plugin-react-swc": "^3.7.0", "eslint": "^9.13.0", "eslint-config-prettier": "~9.1.0", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.9", "globals": "^15.11.0", "husky": "^9.1.6", "lint-staged": "^13.2.2", "prettier": "~3.3.3", "react": "^19.0.0", "react-dom": "^19.0.0", "typescript": "~5.6.2", "vite": "^5.4.6", "vite-plugin-dts": "~3.9.1" }, "peerDependencies": { "react": "17 - 19", "react-dom": "17 - 19" }, "engines": { "node": ">=18.0" }, "dependencies": { "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.13.0", "globals": "^15.11.0" } }