mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
136 lines
4.4 KiB
JSON
136 lines
4.4 KiB
JSON
{
|
|
"name": "@zenstackhq/runtime",
|
|
"displayName": "ZenStack Runtime Library",
|
|
"version": "2.22.2",
|
|
"description": "Runtime of ZenStack for both client-side and server-side environments.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zenstackhq/zenstack"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "pnpm lint --max-warnings=0 && pnpm clean && tsc && tsup-node --config ./tsup-browser.config.ts && tsup-node --config ./tsup-cross.config.ts && copyfiles ./package.json ./README.md ../../LICENSE dist && copyfiles -u1 \"res/**/*\" dist && pnpm pack dist --pack-destination ../../../.build",
|
|
"watch": "concurrently \"tsc --watch\" \"tsup-node --config ./tsup-browser.config.ts --watch\" \"tsup-node --config ./tsup-cross.config.ts --watch\"",
|
|
"lint": "eslint src --ext ts",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"./local-helpers": {
|
|
"types": "./local-helpers/index.d.ts",
|
|
"default": "./local-helpers/index.js"
|
|
},
|
|
"./edge": {
|
|
"types": "./edge.d.ts",
|
|
"default": "./edge.js"
|
|
},
|
|
"./enhancements/node": {
|
|
"types": "./enhancements/node/index.d.ts",
|
|
"default": "./enhancements/node/index.js"
|
|
},
|
|
"./enhancements/edge": {
|
|
"types": "./enhancements/edge/index.d.ts",
|
|
"default": "./enhancements/edge/index.js"
|
|
},
|
|
"./validation": {
|
|
"types": "./validation.d.ts",
|
|
"default": "./validation.js"
|
|
},
|
|
"./constraint-solver": {
|
|
"types": "./constraint-solver.d.ts",
|
|
"default": "./constraint-solver.js"
|
|
},
|
|
"./zod": {
|
|
"types": "./zod/index.d.ts",
|
|
"default": "./zod/index.js"
|
|
},
|
|
"./zod/input": {
|
|
"types": "./zod/input.d.ts",
|
|
"default": "./zod/input.js"
|
|
},
|
|
"./zod/models": {
|
|
"types": "./zod/models.d.ts",
|
|
"default": "./zod/models.js"
|
|
},
|
|
"./zod/objects": {
|
|
"types": "./zod/objects.d.ts",
|
|
"default": "./zod/objects.js"
|
|
},
|
|
"./browser": {
|
|
"types": "./browser/index.d.ts",
|
|
"import": "./browser/index.mjs",
|
|
"require": "./browser/index.js",
|
|
"default": "./browser/index.js"
|
|
},
|
|
"./cross": {
|
|
"types": "./cross/index.d.ts",
|
|
"import": "./cross/index.mjs",
|
|
"require": "./cross/index.js",
|
|
"default": "./cross/index.js"
|
|
},
|
|
"./model-meta": {
|
|
"types": "./model-meta.d.ts",
|
|
"default": "./model-meta.js"
|
|
},
|
|
"./models": {
|
|
"types": "./models.d.ts",
|
|
"default": "./models.js"
|
|
},
|
|
"./zod-utils": {
|
|
"types": "./zod-utils.d.ts",
|
|
"default": "./zod-utils.js"
|
|
},
|
|
"./encryption": {
|
|
"types": "./encryption/index.d.ts",
|
|
"default": "./encryption/index.js"
|
|
},
|
|
"./package.json": {
|
|
"default": "./package.json"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"directory": "dist",
|
|
"linkDirectory": true
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"buffer": "^6.0.3",
|
|
"decimal.js-light": "^2.5.1",
|
|
"deepmerge": "^4.3.1",
|
|
"logic-solver": "^2.0.1",
|
|
"pluralize": "^8.0.0",
|
|
"safe-json-stringify": "^1.2.0",
|
|
"semver": "^7.5.2",
|
|
"superjson": "^1.13.0",
|
|
"ts-pattern": "^4.3.0",
|
|
"tslib": "^2.4.1",
|
|
"uuid": "^9.0.0",
|
|
"zod-validation-error": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/pluralize": "^0.0.29",
|
|
"@types/safe-json-stringify": "^1.1.5",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/uuid": "^8.3.4",
|
|
"decimal.js-light": "^2.5.1",
|
|
"superjson": "^1.13.0",
|
|
"uuid": "^9.0.0",
|
|
"zod": "^3.25.0",
|
|
"@prisma/client": "6.19.x"
|
|
},
|
|
"peerDependencies": {
|
|
"@prisma/client": "5.0.0 - 7.x",
|
|
"zod": "catalog:"
|
|
},
|
|
"author": {
|
|
"name": "ZenStack Team"
|
|
},
|
|
"homepage": "https://zenstack.dev",
|
|
"license": "MIT"
|
|
}
|