UNPKG

react-idb-toolkit

Version:

⚛️ Elegant and easy-to-use React toolkit for managing local data with IndexedDB, powered by [idb](https://github.com/jakearchibald/idb).

92 lines (91 loc) 2.76 kB
{ "name": "react-idb-toolkit", "version": "1.0.4", "description": "⚛️ Elegant and easy-to-use React toolkit for managing local data with IndexedDB, powered by [idb](https://github.com/jakearchibald/idb).", "main": "dist/index.umd.js", "module": "dist/index.js", "types": "dist/index.d.ts", "keywords": [ "react", "indexedDB", "indexeddb", "react-toolkit", "idb-toolkit", "idb", "localstorage", "hooks" ], "license": "MIT", "author": "aiyoudiao", "repository": { "type": "git", "url": "https://github.com/aiyoudiao/react-idb-toolkit.git" }, "bugs": { "url": "https://github.com/aiyoudiao/react-idb-toolkit/issues" }, "files": [ "dist", "README.md", "LICENSE" ], "homepage": "https://github.com/aiyoudiao/react-idb-toolkit#readme", "scripts": { "build": "father build", "test": "vitest", "test:ui": "vitest --ui", "coverage": "vitest run --coverage", "storybook": "storybook dev -p 6006", "build:storybook": "storybook build -o examples/storybook-static", "dev:demo": "vite", "build:demo": "vite build", "deploy": "node ./node_modules/gh-pages/bin/gh-pages-clean.js && gh-pages -d examples", "build:all": "npm run build && npm run build:demo && npm run build:storybook", "deploy:all": "npm run build:all && npm run deploy", "r": "release-it" }, "devDependencies": { "@radix-ui/react-collapsible": "^1.1.10", "@radix-ui/react-dialog": "^1.1.13", "@radix-ui/react-separator": "^1.1.6", "@radix-ui/react-slot": "^1.2.2", "@radix-ui/react-toast": "^1.2.13", "@radix-ui/react-tooltip": "^1.2.6", "@shadcn/ui": "^0.0.4", "@storybook/addon-docs": "^8.6.12", "@storybook/addon-essentials": "^8.6.12", "@storybook/react": "^8.6.12", "@storybook/react-vite": "^8.6.12", "@tailwindcss/vite": "^4.1.6", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/react": "^18.3.21", "@types/react-dom": "18", "@vitejs/plugin-react": "^4.4.1", "@vitest/ui": "^3.1.3", "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "fake-indexeddb": "^6.0.1", "father": "^4.0.0", "gh-pages": "^6.1.1", "jsdom": "^26.1.0", "lucide-react": "^0.509.0", "postcss": "^8.5.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^7.1.5", "storybook": "^8.6.12", "tailwind-merge": "^3.3.0", "tailwind-variants": "^1.0.0", "tailwindcss": "^3.4.17", "tailwindcss-animate": "^1.0.7", "release-it": "18.1.2", "typescript": "^5.0.0", "vite": "^6.3.5", "vitest": "^3.1.3" }, "dependencies": { "idb": "^8.0.3" } }