next-safe-action
Version:
Type safe and validated Server Actions in your Next.js project.
102 lines • 2.2 kB
JSON
{
"name": "next-safe-action",
"version": "8.5.3",
"private": false,
"description": "Type safe and validated Server Actions in your Next.js project.",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./hooks": {
"types": "./dist/hooks.d.mts",
"default": "./dist/hooks.mjs"
},
"./stateful-hooks": {
"types": "./dist/stateful-hooks.d.mts",
"default": "./dist/stateful-hooks.mjs"
}
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.mts"
],
"hooks": [
"./dist/hooks.d.mts"
],
"stateful-hooks": [
"./dist/stateful-hooks.d.mts"
]
}
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/TheEdoRan"
},
{
"type": "paypal",
"url": "https://www.paypal.com/donate/?hosted_button_id=ES9JRPSC66XKW"
}
],
"keywords": [
"next",
"nextjs",
"react",
"rsc",
"react server components",
"mutation",
"action",
"actions",
"react actions",
"next actions",
"server actions"
],
"author": "Edoardo Ranghieri",
"license": "MIT",
"engines": {
"node": ">=18.17"
},
"devDependencies": {
"@testing-library/dom": "^10",
"@testing-library/react": "^16",
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",
"jsdom": "^26",
"next": "^16.2.6",
"oxlint": "^1.63.0",
"oxlint-tsgolint": "^0.20.0",
"react": "^19",
"react-dom": "^19",
"tsdown": "^0.21.0",
"vitest": "^4.1.4",
"typescript": "^6.0.3",
"yup": "^1.6.1",
"zod": "^4.3.6"
},
"peerDependencies": {
"next": ">= 14.0.0",
"react": ">= 18.2.0",
"react-dom": ">= 18.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/next-safe-action/next-safe-action.git"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "tsc --noEmit && oxlint --type-aware .",
"test": "vitest run",
"build": "tsdown"
}
}