zod-to-x
Version:
Multi language types generation from Zod schemas.
72 lines (71 loc) • 1.9 kB
JSON
{
"name": "zod-to-x",
"version": "2.3.0",
"description": "Multi language types generation from Zod schemas.",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"clear_dist": "rm -rf ./dist",
"build": "npm run clear_dist && tsc && tsc-alias",
"build:debug": "npm run clear_dist && tsc --project tsconfig.dev.json && tsc-alias",
"format:check": "prettier --check .",
"swap": "npm install && npm run build",
"test": "find ./test -name \"err-*\" -delete && vitest --run",
"test:cpp": "bash ./test/test_zod2cpp/test_cpp.sh",
"test:py": "bash ./test/test_zod2py/test_py.sh",
"test:go": "bash ./test/test_zod2go/test_go.sh",
"test:all": "npm run test:cpp && npm run test:py && npm run test:go",
"ts-run": "ts-node -r tsconfig-paths/register",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rroumenov/zod-to-x.git"
},
"keywords": [
"zod",
"transpiler",
"schema",
"type",
"generator",
"zod-to-cpp",
"zod-to-c++",
"zod-to-ts",
"zod-to-typescript",
"typescript",
"typescript-generator",
"type-generation",
"protobuf"
],
"author": "Radoslav Roumenov Krastev",
"license": "MIT",
"bugs": {
"url": "https://github.com/rroumenov/zod-to-x/issues"
},
"homepage": "https://github.com/rroumenov/zod-to-x#readme",
"lint-staged": {
"*.ts": "prettier --write"
},
"peerDependencies": {
"zod": ">=4.0.0"
},
"dependencies": {
"case": "1.6.3"
},
"devDependencies": {
"@vitest/coverage-v8": "^3.1.3",
"@vitest/ui": "^3.1.3",
"diff": "^8.0.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"protobufjs": "7.5.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "4.2.0",
"typescript": "^5.6.3",
"vitest": "^3.1.3"
}
}