2025-10-24 02:05:05 +00:00
|
|
|
{
|
|
|
|
|
"name": "@zenstackhq/server",
|
2026-03-30 20:02:21 +00:00
|
|
|
"displayName": "ZenStack Automatic CRUD Server",
|
|
|
|
|
"description": "ZenStack automatic CRUD API handlers and server adapters for popular frameworks",
|
2026-05-22 15:31:58 +00:00
|
|
|
"version": "3.7.1",
|
2025-10-24 02:05:05 +00:00
|
|
|
"type": "module",
|
2026-03-30 20:02:21 +00:00
|
|
|
"author": {
|
|
|
|
|
"name": "ZenStack Team",
|
|
|
|
|
"email": "contact@zenstack.dev"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://zenstack.dev",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/zenstackhq/zenstack"
|
|
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
2025-10-24 02:05:05 +00:00
|
|
|
"scripts": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"build": "tsc --noEmit && tsdown",
|
|
|
|
|
"watch": "tsdown --watch",
|
2025-10-24 02:05:05 +00:00
|
|
|
"lint": "eslint src --ext ts",
|
|
|
|
|
"test": "vitest run",
|
2026-03-20 17:07:44 +00:00
|
|
|
"update-baseline": "UPDATE_BASELINE=1 vitest run test/openapi",
|
2025-10-24 02:05:05 +00:00
|
|
|
"pack": "pnpm pack"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"fastify",
|
|
|
|
|
"express",
|
|
|
|
|
"nextjs",
|
|
|
|
|
"sveltekit",
|
|
|
|
|
"nuxtjs",
|
|
|
|
|
"elysia",
|
|
|
|
|
"tanstack-start"
|
|
|
|
|
],
|
|
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
|
|
|
|
"exports": {
|
|
|
|
|
"./package.json": {
|
|
|
|
|
"import": "./package.json",
|
|
|
|
|
"require": "./package.json"
|
|
|
|
|
},
|
|
|
|
|
"./api": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/api.d.mts",
|
|
|
|
|
"default": "./dist/api.mjs"
|
2025-10-24 02:05:05 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/api.d.cts",
|
|
|
|
|
"default": "./dist/api.cjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"./express": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/express.d.mts",
|
|
|
|
|
"default": "./dist/express.mjs"
|
2025-10-24 02:05:05 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/express.d.cts",
|
|
|
|
|
"default": "./dist/express.cjs"
|
|
|
|
|
}
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"./elysia": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/elysia.d.mts",
|
|
|
|
|
"default": "./dist/elysia.mjs"
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/elysia.d.cts",
|
|
|
|
|
"default": "./dist/elysia.cjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"./fastify": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/fastify.d.mts",
|
|
|
|
|
"default": "./dist/fastify.mjs"
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/fastify.d.cts",
|
|
|
|
|
"default": "./dist/fastify.cjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"./next": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/next.d.mts",
|
|
|
|
|
"default": "./dist/next.mjs"
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/next.d.cts",
|
|
|
|
|
"default": "./dist/next.cjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"./hono": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/hono.d.mts",
|
|
|
|
|
"default": "./dist/hono.mjs"
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/hono.d.cts",
|
|
|
|
|
"default": "./dist/hono.cjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"./nuxt": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/nuxt.d.mts",
|
|
|
|
|
"default": "./dist/nuxt.mjs"
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/nuxt.d.cts",
|
|
|
|
|
"default": "./dist/nuxt.cjs"
|
|
|
|
|
}
|
2025-10-30 01:41:23 +00:00
|
|
|
},
|
|
|
|
|
"./sveltekit": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/sveltekit.d.mts",
|
|
|
|
|
"default": "./dist/sveltekit.mjs"
|
2025-10-30 01:41:23 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/sveltekit.d.cts",
|
|
|
|
|
"default": "./dist/sveltekit.cjs"
|
|
|
|
|
}
|
2025-10-30 02:26:12 +00:00
|
|
|
},
|
|
|
|
|
"./tanstack-start": {
|
|
|
|
|
"import": {
|
2026-04-15 19:13:34 +00:00
|
|
|
"types": "./dist/tanstack-start.d.mts",
|
|
|
|
|
"default": "./dist/tanstack-start.mjs"
|
2025-10-30 02:26:12 +00:00
|
|
|
},
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/tanstack-start.d.cts",
|
|
|
|
|
"default": "./dist/tanstack-start.cjs"
|
|
|
|
|
}
|
2025-10-24 02:05:05 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@zenstackhq/common-helpers": "workspace:*",
|
2025-10-24 05:07:55 +00:00
|
|
|
"@zenstackhq/orm": "workspace:*",
|
2025-10-24 02:05:05 +00:00
|
|
|
"decimal.js": "catalog:",
|
2026-03-20 17:07:44 +00:00
|
|
|
"openapi-types": "^12.1.3",
|
2025-10-24 02:05:05 +00:00
|
|
|
"superjson": "^2.2.3",
|
2025-11-13 19:18:09 +00:00
|
|
|
"ts-japi": "^1.12.1",
|
2025-10-27 05:27:09 +00:00
|
|
|
"ts-pattern": "catalog:",
|
|
|
|
|
"url-pattern": "^1.0.3",
|
|
|
|
|
"zod-validation-error": "catalog:"
|
2025-10-24 02:05:05 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-03-20 17:07:44 +00:00
|
|
|
"@readme/openapi-parser": "^6.0.0",
|
2026-02-26 01:47:09 +00:00
|
|
|
"@sveltejs/kit": "catalog:",
|
2025-10-24 02:05:05 +00:00
|
|
|
"@types/body-parser": "^1.19.6",
|
|
|
|
|
"@types/express": "^5.0.0",
|
|
|
|
|
"@types/supertest": "^6.0.3",
|
|
|
|
|
"@zenstackhq/eslint-config": "workspace:*",
|
|
|
|
|
"@zenstackhq/testtools": "workspace:*",
|
2026-04-15 19:13:34 +00:00
|
|
|
"@zenstackhq/tsdown-config": "workspace:*",
|
2025-10-24 02:05:05 +00:00
|
|
|
"@zenstackhq/typescript-config": "workspace:*",
|
|
|
|
|
"@zenstackhq/vitest-config": "workspace:*",
|
|
|
|
|
"body-parser": "^2.2.0",
|
2026-02-17 13:33:20 +00:00
|
|
|
"elysia": "^1.4.18",
|
2025-10-24 23:59:05 +00:00
|
|
|
"express": "^5.0.0",
|
2025-10-29 21:22:49 +00:00
|
|
|
"fastify": "^5.6.1",
|
|
|
|
|
"fastify-plugin": "^5.1.0",
|
2026-02-26 01:47:09 +00:00
|
|
|
"h3": "^1.15.5",
|
|
|
|
|
"hono": "^4.11.10",
|
2025-11-03 07:14:11 +00:00
|
|
|
"next": "catalog:",
|
2025-12-27 14:49:19 +00:00
|
|
|
"nuxt": "catalog:",
|
2025-10-27 05:27:09 +00:00
|
|
|
"supertest": "^7.1.4",
|
2025-10-31 22:46:53 +00:00
|
|
|
"zod": "^4.1.0"
|
2025-10-24 02:05:05 +00:00
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2025-10-30 01:41:23 +00:00
|
|
|
"@sveltejs/kit": "^2.0.0",
|
2025-10-30 00:47:10 +00:00
|
|
|
"elysia": "^1.3.0",
|
2025-10-24 23:59:05 +00:00
|
|
|
"express": "^5.0.0",
|
2025-10-29 21:22:49 +00:00
|
|
|
"fastify": "^5.0.0",
|
|
|
|
|
"fastify-plugin": "^5.0.0",
|
2026-04-22 17:08:41 +00:00
|
|
|
"h3": "^1.15.0",
|
2025-10-30 00:12:50 +00:00
|
|
|
"hono": "^4.6.0",
|
2025-11-03 07:14:11 +00:00
|
|
|
"next": "^15.0.0 || ^16.0.0",
|
2025-10-30 00:47:10 +00:00
|
|
|
"nuxt": "^4.0.0",
|
2025-10-27 05:27:09 +00:00
|
|
|
"zod": "catalog:"
|
2025-10-24 02:05:05 +00:00
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
|
"express": {
|
|
|
|
|
"optional": true
|
2025-10-24 23:59:05 +00:00
|
|
|
},
|
|
|
|
|
"next": {
|
|
|
|
|
"optional": true
|
2025-10-29 21:22:49 +00:00
|
|
|
},
|
|
|
|
|
"fastify": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
|
|
|
|
"fastify-plugin": {
|
|
|
|
|
"optional": true
|
2025-10-29 21:45:25 +00:00
|
|
|
},
|
|
|
|
|
"elysia": {
|
|
|
|
|
"optional": true
|
2025-10-30 00:12:50 +00:00
|
|
|
},
|
2026-04-22 17:08:41 +00:00
|
|
|
"h3": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
2025-10-30 00:12:50 +00:00
|
|
|
"hono": {
|
|
|
|
|
"optional": true
|
2025-10-30 00:47:10 +00:00
|
|
|
},
|
|
|
|
|
"nuxt": {
|
|
|
|
|
"optional": true
|
2025-10-30 01:41:23 +00:00
|
|
|
},
|
|
|
|
|
"@sveltejs/kit": {
|
|
|
|
|
"optional": true
|
2025-10-24 02:05:05 +00:00
|
|
|
}
|
2026-03-30 20:02:21 +00:00
|
|
|
},
|
|
|
|
|
"funding": "https://github.com/sponsors/zenstackhq"
|
2025-10-24 02:05:05 +00:00
|
|
|
}
|