UNPKG

reactjs-use-form

Version:

Reactive form management and input field validation hook

58 lines (57 loc) 1.4 kB
{ "name": "reactjs-use-form", "version": "1.7.1", "description": "Reactive form management and input field validation hook", "author": "amir0ff", "license": "MIT", "homepage": "https://amir0ff.github.io/reactjs-use-form", "repository": { "type": "git", "url": "https://github.com/amir0ff/reactjs-use-form" }, "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist" ], "scripts": { "test": "vitest", "test:run": "vitest run", "test:ui": "vitest --ui", "dev": "pnpm exec vite build --watch", "build": "pnpm exec vite build", "clean": "rm -rf node_modules dist" }, "peerDependencies": { "react": "^18.2.0" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/react": "^18.3.12", "@vitejs/plugin-react": "^4.3.4", "happy-dom": "^15.11.6", "react": "^18.3.1", "react-dom": "^18.3.1", "typescript": "^5.7.2", "vite": "^6.0.5", "vite-plugin-dts": "^4.3.0", "vitest": "^3.2.4" }, "keywords": [ "react", "typescript", "react-testing-library", "react-hooks" ] }