UNPKG

react-extended-hooks

Version:

A collection of React custom hooks providing extended functionality for geolocation, platform details, battery status, and more.

85 lines (84 loc) 2.41 kB
{ "name": "react-extended-hooks", "version": "0.0.7", "type": "module", "author": "Vikram Samak", "description": "A collection of React custom hooks providing extended functionality for geolocation, platform details, battery status, and more.", "keywords": [ "react", "react-hooks", "custom-hooks", "geolocation", "battery-status", "platform-details", "webcam", "speech-synthesis", "utility-hooks", "frontend", "typescript", "react-library" ], "license": "MIT", "homepage": "https://github.com/vikramsamak/react-extended-hooks#readme", "repository": { "type": "git", "url": "git+https://github.com/vikramsamak/react-extended-hooks.git" }, "bugs": { "url": "https://github.com/vikramsamak/react-extended-hooks/issues" }, "main": "dist/react-extended-hooks-umd.js", "module": "dist/react-extended-hooks-es.js", "types": "dist/react-extended-hooks-es.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "npm-publish": "npm run build && npm version patch && npm publish" }, "dependencies": { "@storybook/builder-vite": "^8.4.7", "@swc/core": "^1.10.1", "lodash": "^4.17.21", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@chromatic-com/storybook": "^3.2.2", "@eslint/js": "^9.15.0", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", "@storybook/addon-onboarding": "^8.4.7", "@storybook/blocks": "^8.4.7", "@storybook/react": "^8.4.7", "@storybook/react-vite": "^8.4.7", "@storybook/test": "^8.4.7", "@types/lodash": "^4.17.13", "@types/node": "^22.10.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react-swc": "^3.5.0", "eslint": "^9.15.0", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.14", "eslint-plugin-storybook": "^0.11.1", "globals": "^15.12.0", "storybook": "^8.4.7", "typescript": "~5.6.2", "typescript-eslint": "^8.15.0", "vite": "^6.0.1", "vite-plugin-dts": "^4.4.0" }, "eslintConfig": { "extends": [ "plugin:storybook/recommended" ] } }