mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "@zenstackhq/runtime",
|
|
"displayName": "ZenStack Runtime Library",
|
|
"version": "1.0.0-beta.12",
|
|
"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 && pnpm clean && tsc && tsup-node && copyfiles ./package.json ./README.md ../../LICENSE dist && copyfiles -u1 'res/**/*' dist && pnpm pack dist --pack-destination '../../../.build'",
|
|
"watch": "concurrently \"tsc --watch\" \"tsup-node --watch\"",
|
|
"lint": "eslint src --ext ts",
|
|
"prepublishOnly": "pnpm build",
|
|
"publish-dev": "pnpm publish --tag dev"
|
|
},
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"default": "./index.js"
|
|
},
|
|
"./package.json": {
|
|
"default": "./package.json"
|
|
},
|
|
"./zod": {
|
|
"default": "./zod/index.js"
|
|
},
|
|
"./zod/input": {
|
|
"default": "./zod/input.js"
|
|
},
|
|
"./zod/models": {
|
|
"default": "./zod/models.js"
|
|
},
|
|
"./browser": {
|
|
"import": "./browser/index.mjs",
|
|
"require": "./browser/index.js",
|
|
"default": "./browser/index.js",
|
|
"types": "./browser/index.d.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"directory": "dist",
|
|
"linkDirectory": true
|
|
},
|
|
"dependencies": {
|
|
"@paralleldrive/cuid2": "^2.2.0",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"buffer": "^6.0.3",
|
|
"change-case": "^4.1.2",
|
|
"colors": "1.4.0",
|
|
"decimal.js": "^10.4.2",
|
|
"deepcopy": "^2.1.0",
|
|
"lower-case-first": "^2.0.2",
|
|
"pluralize": "^8.0.0",
|
|
"semver": "^7.3.8",
|
|
"superjson": "^1.11.0",
|
|
"tslib": "^2.4.1",
|
|
"upper-case-first": "^2.0.2",
|
|
"zod": "3.21.1",
|
|
"zod-validation-error": "^0.2.1"
|
|
},
|
|
"author": {
|
|
"name": "ZenStack Team"
|
|
},
|
|
"homepage": "https://zenstack.dev",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/jest": "^29.5.0",
|
|
"@types/node": "^18.0.0",
|
|
"@types/pluralize": "^0.0.29",
|
|
"@types/semver": "^7.3.13",
|
|
"copyfiles": "^2.4.1",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^4.9.3"
|
|
}
|
|
}
|