vite-plugin-server-actions
Version:
Server actions for Vite - call backend functions directly from your frontend with automatic API generation, TypeScript support, and zero configuration
102 lines (101 loc) • 2.87 kB
JSON
{
"name": "vite-plugin-server-actions",
"version": "1.0.1",
"description": "Server actions for Vite - call backend functions directly from your frontend with automatic API generation, TypeScript support, and zero configuration",
"keywords": [
"vite",
"vite-plugin",
"server-actions",
"server",
"backend",
"api",
"rpc",
"typescript",
"openapi",
"swagger",
"validation",
"zod",
"full-stack",
"serverless",
"functions",
"middleware",
"express"
],
"homepage": "https://github.com/HelgeSverre/vite-plugin-server-actions",
"bugs": {
"url": "https://github.com/HelgeSverre/vite-plugin-server-actions/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HelgeSverre/vite-plugin-server-actions.git"
},
"license": "MIT",
"author": {
"name": "Helge Sverre",
"email": "helge.sverre@gmail.com",
"url": "https://helgesver.re"
},
"type": "module",
"main": "src/index.js",
"types": "index.d.ts",
"exports": {
".": {
"import": "./src/index.js",
"types": "./index.d.ts"
}
},
"files": [
"src",
"index.d.ts",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"example:svelte:build": "npm run build --prefix examples/svelte-todo-app",
"example:svelte:dev": "npm run dev --prefix examples/svelte-todo-app",
"example:vue:build": "npm run build --prefix examples/vue-todo-app",
"example:vue:dev": "npm run dev --prefix examples/vue-todo-app",
"example:react:build": "npm run build --prefix examples/react-todo-app",
"example:react:dev": "npm run dev --prefix examples/react-todo-app",
"format": "npx prettier --write .",
"sort": "npx sort-package-json",
"test": "vitest",
"test:run": "vitest run",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"typecheck": "tsc --noEmit",
"check": "npm run test:run && npm run typecheck",
"prepublishOnly": "npm run check",
"deploy:docs": "cd docs && vc --prod"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^7.3.4",
"express": "^4.21.0",
"minimatch": "^10.0.3",
"rollup": "^4.0.0",
"swagger-ui-express": "^5.0.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^12.0.0",
"@playwright/test": "^1.53.1",
"@stoplight/spectral-core": "^1.20.0",
"@stoplight/spectral-rulesets": "^1.22.0",
"@types/express": "^5.0.3",
"@types/node": "^24.0.3",
"@types/swagger-ui-express": "^4.1.6",
"@vitest/runner": "^3.2.4",
"playwright": "^1.53.1",
"prettier": "^3.6.0",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vitest": "^3.2.4"
},
"peerDependencies": {
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
},
"readme": "README.md"
}