UNPKG

react-hook-form-storage

Version:

A TypeScript library for React Hook Form persist functionality

76 lines (75 loc) 2.24 kB
{ "name": "react-hook-form-storage", "version": "1.0.0", "description": "A TypeScript library for React Hook Form persist functionality", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rollup -c --bundleConfigAsCjs", "build:watch": "rollup -c -w", "dev": "npm run build:watch", "dev:example": "cd dev && npm run dev", "dev:setup": "cd dev && npm install", "test": "jest", "test:watch": "jest --watchAll", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.{ts,tsx} --fix" }, "keywords": [ "react", "react-hook-form", "react-hook-forms", "form", "persist", "persistent", "persistent-storage", "localstorage", "sessionstorage" ], "author": "Franco Sánchez <francog.sanchez@hotmail.com>", "license": "MIT", "peerDependencies": { "react": ">=16.8.0", "react-hook-form": ">=7.0.0" }, "devDependencies": { "@hookform/resolvers": "^5.2.1", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.1.9", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "eslint": "^9.32.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "jest": "^30.0.5", "jest-environment-jsdom": "^30.0.5", "prettier": "^3.6.2", "react": "^19.1.1", "react-dom": "^19.1.1", "react-hook-form": "^7.62.0", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.4.0", "tslib": "^2.8.1", "typescript": "^5.9.2", "zod": "^4.0.14" }, "repository": { "type": "git", "url": "git+https://github.com/francogabriel92/react-hook-form-storage.git" }, "bugs": { "url": "https://github.com/francogabriel92/react-hook-form-storage/issues" }, "homepage": "https://github.com/francogabriel92/react-hook-form-storage#readme" }