UNPKG

react-form-action

Version:

State management helpers for the react form actions.

77 lines (76 loc) 1.98 kB
{ "name": "react-form-action", "version": "2.9.1", "description": "State management helpers for the react form actions.", "repository": { "type": "git", "url": "https://github.com/MiroslavPetrik/react-form-action.git" }, "main": "dist/index.js", "module": "dist/index.mjs", "files": [ "/dist" ], "scripts": { "build": "tsup", "test": "vitest", "typecheck": "vitest --typecheck", "format": "prettier . --write", "format:check": "prettier . --check", "ncu": "ncu --interactive --format group", "pub:next": "npm publish --tag next" }, "exports": { ".": { "import": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "./client": { "import": "./dist/client.mjs", "module": "./dist/client.mjs", "types": "./dist/client.d.mts", "default": "./dist/client.mjs" } }, "publishConfig": { "access": "public" }, "keywords": [ "react", "form-action", "react-form-action", "next", "next-form-action", "nextjs", "server-action" ], "author": "Miroslav Petrik", "license": "MIT", "peerDependencies": { "react": ">=19", "react-dom": ">=19", "zod": "^3.25.0 || ^4.0.0", "zod-form-data": "^3.0.0" }, "devDependencies": { "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "@vitejs/plugin-react": "^5.1.0", "happy-dom": "^20.0.8", "npm-check-updates": "^19.1.1", "prettier": "^3.6.2", "react": "^19.2.0", "react-dom": "^19.2.0", "tsup": "^8.5.0", "typescript": "^5.9.3", "vitest": "^4.0.4", "zod": "^3.25.0", "zod-form-data": "^3.0.1" } }