next-safe-action
Version:
Type safe and validated Server Actions in your Next.js project.
120 lines (119 loc) • 2.44 kB
JSON
{
"name": "next-safe-action",
"version": "7.10.5",
"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": {
".": "./dist/index.mjs",
"./hooks": "./dist/hooks.mjs",
"./stateful-hooks": "./dist/stateful-hooks.mjs",
"./adapters/*": "./dist/adapters/*.mjs"
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.mts"
],
"hooks": [
"./dist/hooks.d.mts"
],
"stateful-hooks": [
"./dist/stateful-hooks.d.mts"
],
"adapters/*": [
"./dist/adapters/*.d.mts"
]
}
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/TheEdoRan"
},
{
"type": "paypal",
"url": "https://www.paypal.com/donate/?hosted_button_id=ES9JRPSC66XKW"
}
],
"scripts": {
"lint": "tsc && prettier --write . && eslint .",
"test": "node --import tsx --test ./src/__tests__/*.test.ts",
"build": "tsup",
"deploy": "semantic-release"
},
"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": {
"@eslint/js": "^9.19.0",
"@sinclair/typebox": "^0.34.15",
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"deepmerge-ts": "^7.1.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-react-hooks": "^5.1.0",
"next": "15.1.6",
"prettier": "^3.4.2",
"react": "^19",
"react-dom": "^19",
"semantic-release": "^23",
"tsup": "^8.3.6",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"valibot": "^0.42.1",
"yup": "^1.6.1",
"zod": "^3.24.1"
},
"peerDependencies": {
"@sinclair/typebox": ">= 0.33.3",
"next": ">= 14.0.0",
"react": ">= 18.2.0",
"react-dom": ">= 18.2.0",
"valibot": ">= 0.36.0",
"yup": ">= 1.0.0",
"zod": ">= 3.0.0"
},
"peerDependenciesMeta": {
"zod": {
"optional": true
},
"valibot": {
"optional": true
},
"yup": {
"optional": true
},
"@sinclair/typebox": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/TheEdoRan/next-safe-action.git"
}
}