@yangcurve/actions
Version:
Server Action wrapper inspired by trpc.
44 lines (43 loc) • 1.25 kB
JSON
{
"name": "@yangcurve/actions",
"description": "Server Action wrapper inspired by trpc.",
"keywords": [
"nextjs",
"server-action",
"tanstack-query"
],
"version": "0.2.9",
"license": "MIT",
"author": "yangcurve <utsu0621@gmail.com>",
"repository": "github:yangcurve/actions",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"config": "bun build configs/* --outdir ./ -e '*'",
"prebuild": "bun run lint",
"build": "tsup src/index.ts --format cjs,esm --dts",
"prelint": "bun run config",
"lint": "eslint --fix",
"postlint": "prettier -w '**/*.{ts,json}'"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/eslint__eslintrc": "^2.1.2",
"@typescript-eslint/eslint-plugin": "^8.12.1",
"eslint": "^9.13.0",
"eslint-config-next": "^15.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"tsup": "^8.3.0"
},
"peerDependencies": {
"@tanstack/react-query": "^5.59.15",
"typescript": "^5.6.3",
"zod": "^3.23.8"
}
}