next-form-action
Version:
A TypeScript library for handling form actions in Next.js applications
64 lines (63 loc) • 1.78 kB
JSON
{
"name": "next-form-action",
"version": "3.0.1",
"description": "A TypeScript library for handling form actions in Next.js applications",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "unbuild",
"type-check": "tsc --noEmit",
"lint": "eslint src/**/*.{ts,tsx}",
"lint:fix": "eslint src/**/*.{ts,tsx} --fix",
"format": "prettier --write src/**/*.{ts,tsx}",
"format:check": "prettier --check src/**/*.{ts,tsx}",
"check": "pnpm run type-check && pnpm run lint && pnpm run format:check",
"prepublishOnly": "pnpm run check && pnpm run build"
},
"keywords": [
"nextjs",
"react",
"forms",
"typescript",
"form-actions",
"useActionState",
"server-actions",
"react-hooks"
],
"author": "Mattia Malonni",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mattiamalonni/next-form-action.git"
},
"homepage": "https://github.com/mattiamalonni/next-form-action#readme",
"bugs": {
"url": "https://github.com/mattiamalonni/next-form-action/issues"
},
"peerDependencies": {
"next": "^15.3.3",
"react": "^19.1.0"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@types/node": "^24.0.1",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"unbuild": "^3.5.0"
}
}