mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
108 lines
3.3 KiB
JSON
108 lines
3.3 KiB
JSON
{
|
|
"name": "@zenstackhq/runtime",
|
|
"version": "3.0.0-beta.6",
|
|
"description": "ZenStack Runtime",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc --project tsconfig.build.json --noEmit && tsup-node && pnpm test:generate",
|
|
"watch": "tsup-node --watch",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "vitest run && pnpm test:typecheck",
|
|
"test:sqlite": "TEST_DB_PROVIDER=sqlite vitest run",
|
|
"test:postgresql": "TEST_DB_PROVIDER=postgresql vitest run",
|
|
"test:generate": "tsx test/scripts/generate.ts",
|
|
"test:typecheck": "tsc --project tsconfig.test.json",
|
|
"pack": "pnpm pack"
|
|
},
|
|
"keywords": [],
|
|
"author": "ZenStack Team",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./schema": {
|
|
"import": {
|
|
"types": "./dist/schema.d.ts",
|
|
"default": "./dist/schema.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/schema.d.cts",
|
|
"default": "./dist/schema.cjs"
|
|
}
|
|
},
|
|
"./helpers": {
|
|
"import": {
|
|
"types": "./dist/helpers.d.ts",
|
|
"default": "./dist/helpers.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/helpers.d.cts",
|
|
"default": "./dist/helpers.cjs"
|
|
}
|
|
},
|
|
"./plugins/policy": {
|
|
"import": {
|
|
"types": "./dist/plugins/policy.d.ts",
|
|
"default": "./dist/plugins/policy.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/plugins/policy.d.cts",
|
|
"default": "./dist/plugins/policy.cjs"
|
|
}
|
|
},
|
|
"./package.json": {
|
|
"import": "./package.json",
|
|
"require": "./package.json"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
"@zenstackhq/common-helpers": "workspace:*",
|
|
"decimal.js": "^10.4.3",
|
|
"json-stable-stringify": "^1.3.0",
|
|
"nanoid": "^5.0.9",
|
|
"toposort": "^2.0.2",
|
|
"ts-pattern": "catalog:",
|
|
"ulid": "^3.0.0",
|
|
"uuid": "^11.0.5",
|
|
"zod-validation-error": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"better-sqlite3": "^12.2.0",
|
|
"kysely": "catalog:",
|
|
"pg": "^8.13.1",
|
|
"zod": "catalog:"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"better-sqlite3": {
|
|
"optional": true
|
|
},
|
|
"pg": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/pg": "^8.0.0",
|
|
"@types/toposort": "^2.0.7",
|
|
"@zenstackhq/eslint-config": "workspace:*",
|
|
"@zenstackhq/language": "workspace:*",
|
|
"@zenstackhq/sdk": "workspace:*",
|
|
"@zenstackhq/testtools": "workspace:*",
|
|
"@zenstackhq/typescript-config": "workspace:*",
|
|
"@zenstackhq/vitest-config": "workspace:*",
|
|
"tsx": "^4.19.2",
|
|
"zod": "~3.25.0"
|
|
}
|
|
}
|