mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
209 lines
5.8 KiB
JSON
209 lines
5.8 KiB
JSON
{
|
|
"name": "@zenstackhq/server",
|
|
"displayName": "ZenStack Automatic CRUD Server",
|
|
"description": "ZenStack automatic CRUD API handlers and server adapters for popular frameworks",
|
|
"version": "3.7.1",
|
|
"type": "module",
|
|
"author": {
|
|
"name": "ZenStack Team",
|
|
"email": "contact@zenstack.dev"
|
|
},
|
|
"homepage": "https://zenstack.dev",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zenstackhq/zenstack"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tsc --noEmit && tsdown",
|
|
"watch": "tsdown --watch",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "vitest run",
|
|
"update-baseline": "UPDATE_BASELINE=1 vitest run test/openapi",
|
|
"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": {
|
|
"types": "./dist/api.d.mts",
|
|
"default": "./dist/api.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/api.d.cts",
|
|
"default": "./dist/api.cjs"
|
|
}
|
|
},
|
|
"./express": {
|
|
"import": {
|
|
"types": "./dist/express.d.mts",
|
|
"default": "./dist/express.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/express.d.cts",
|
|
"default": "./dist/express.cjs"
|
|
}
|
|
},
|
|
"./elysia": {
|
|
"import": {
|
|
"types": "./dist/elysia.d.mts",
|
|
"default": "./dist/elysia.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/elysia.d.cts",
|
|
"default": "./dist/elysia.cjs"
|
|
}
|
|
},
|
|
"./fastify": {
|
|
"import": {
|
|
"types": "./dist/fastify.d.mts",
|
|
"default": "./dist/fastify.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/fastify.d.cts",
|
|
"default": "./dist/fastify.cjs"
|
|
}
|
|
},
|
|
"./next": {
|
|
"import": {
|
|
"types": "./dist/next.d.mts",
|
|
"default": "./dist/next.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/next.d.cts",
|
|
"default": "./dist/next.cjs"
|
|
}
|
|
},
|
|
"./hono": {
|
|
"import": {
|
|
"types": "./dist/hono.d.mts",
|
|
"default": "./dist/hono.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/hono.d.cts",
|
|
"default": "./dist/hono.cjs"
|
|
}
|
|
},
|
|
"./nuxt": {
|
|
"import": {
|
|
"types": "./dist/nuxt.d.mts",
|
|
"default": "./dist/nuxt.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/nuxt.d.cts",
|
|
"default": "./dist/nuxt.cjs"
|
|
}
|
|
},
|
|
"./sveltekit": {
|
|
"import": {
|
|
"types": "./dist/sveltekit.d.mts",
|
|
"default": "./dist/sveltekit.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/sveltekit.d.cts",
|
|
"default": "./dist/sveltekit.cjs"
|
|
}
|
|
},
|
|
"./tanstack-start": {
|
|
"import": {
|
|
"types": "./dist/tanstack-start.d.mts",
|
|
"default": "./dist/tanstack-start.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/tanstack-start.d.cts",
|
|
"default": "./dist/tanstack-start.cjs"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@zenstackhq/common-helpers": "workspace:*",
|
|
"@zenstackhq/orm": "workspace:*",
|
|
"decimal.js": "catalog:",
|
|
"openapi-types": "^12.1.3",
|
|
"superjson": "^2.2.3",
|
|
"ts-japi": "^1.12.1",
|
|
"ts-pattern": "catalog:",
|
|
"url-pattern": "^1.0.3",
|
|
"zod-validation-error": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@readme/openapi-parser": "^6.0.0",
|
|
"@sveltejs/kit": "catalog:",
|
|
"@types/body-parser": "^1.19.6",
|
|
"@types/express": "^5.0.0",
|
|
"@types/supertest": "^6.0.3",
|
|
"@zenstackhq/eslint-config": "workspace:*",
|
|
"@zenstackhq/testtools": "workspace:*",
|
|
"@zenstackhq/tsdown-config": "workspace:*",
|
|
"@zenstackhq/typescript-config": "workspace:*",
|
|
"@zenstackhq/vitest-config": "workspace:*",
|
|
"body-parser": "^2.2.0",
|
|
"elysia": "^1.4.18",
|
|
"express": "^5.0.0",
|
|
"fastify": "^5.6.1",
|
|
"fastify-plugin": "^5.1.0",
|
|
"h3": "^1.15.5",
|
|
"hono": "^4.11.10",
|
|
"next": "catalog:",
|
|
"nuxt": "catalog:",
|
|
"supertest": "^7.1.4",
|
|
"zod": "^4.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@sveltejs/kit": "^2.0.0",
|
|
"elysia": "^1.3.0",
|
|
"express": "^5.0.0",
|
|
"fastify": "^5.0.0",
|
|
"fastify-plugin": "^5.0.0",
|
|
"h3": "^1.15.0",
|
|
"hono": "^4.6.0",
|
|
"next": "^15.0.0 || ^16.0.0",
|
|
"nuxt": "^4.0.0",
|
|
"zod": "catalog:"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"express": {
|
|
"optional": true
|
|
},
|
|
"next": {
|
|
"optional": true
|
|
},
|
|
"fastify": {
|
|
"optional": true
|
|
},
|
|
"fastify-plugin": {
|
|
"optional": true
|
|
},
|
|
"elysia": {
|
|
"optional": true
|
|
},
|
|
"h3": {
|
|
"optional": true
|
|
},
|
|
"hono": {
|
|
"optional": true
|
|
},
|
|
"nuxt": {
|
|
"optional": true
|
|
},
|
|
"@sveltejs/kit": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"funding": "https://github.com/sponsors/zenstackhq"
|
|
}
|