@pesto-io/pesto-zod
Version:
Pesto module to intantiate zod schema from Typescript source code as string.
93 lines • 3.8 kB
JSON
{
"name": "@pesto-io/pesto-zod",
"version": "0.0.1-alpha-commit-2619f0aa9c29489b3584a8ee2099efd4333cbcc3",
"description": "Pesto module to intantiate zod schema from Typescript source code as string.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"engines": {
"node": "~20.12.0",
"pnpm": "~9.10.0"
},
"homepage": "https://github.com/3forges/pesto-zod/blob/feature/init-src/n/ci/README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/3forges/pesto-zod/blob/feature/init-src/n/ci"
},
"bugs": {
"url": "https://github.com/3forges/pesto-zod/issues"
},
"keywords": [
"pesto",
"zod",
"typescript",
"ts-morph",
"jest"
],
"author": "The Pesto Team",
"license": "ISC",
"dependencies": {
"redaxios": "^0.5.1",
"ts-morph": "^23.0.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/htmlparser2": "^3.10.7",
"@types/jest": "^29.5.12",
"@types/react-html-parser": "^2.0.6",
"@types/showdown": "^2.0.6",
"@types/uuid": "^10.0.0",
"gray-matter": "^4.0.3",
"highlight.js": "^11.9.0",
"htmlparser2": "^9.1.0",
"jest": "^29.7.0",
"json-to-zod": "^1.1.2",
"markdown-it": "^14.1.0",
"react-html-parser": "^2.0.2",
"rehype": "^13.0.1",
"rehype-add-classes": "^1.0.0",
"rehype-document": "^7.0.3",
"rehype-format": "^5.0.0",
"rehype-stringify": "^10.0.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-html": "^16.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"serve": "^14.2.1",
"showdown": "^2.1.0",
"to-vfile": "^8.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typedoc": "^0.25.12",
"typedoc-default-themes": "^0.12.10",
"typedoc-plugin-frontmatter": "1.0.0-next.1",
"typedoc-plugin-markdown": "4.0.0-next.54",
"typescript": "^5.4.3",
"unified": "^11.0.4",
"zod": "^3.22.4",
"zod-matter": "^0.1.1"
},
"scripts": {
"clean:api-docs:astro": "chmod +x ./.npm.scripts/astro-docs/clean.sh && bash ./.npm.scripts/astro-docs/clean.sh",
"clean:api-docs": "chmod +x ./.npm.scripts/docs/clean.sh && bash ./.npm.scripts/docs/clean.sh",
"gen:api-docs:html": "pnpm run clean:api-docs:astro && pnpm exec typedoc ./src/index.ts --out ./docs/ --tsconfig ./tsconfig.json",
"gen:api-docs:json": "pnpm run clean:api-docs:astro && pnpm exec typedoc ./src/index.ts --tsconfig ./tsconfig.json --json documentation/astro/src/content/api-docs/data.json",
"gen:api-docs:zod": "pnpm exec json-to-zod -s documentation/astro/src/content/api-docs/data.json -t documentation/astro/src/schemas/api-docs.zod.ts",
"gen:api-docs:md": "pnpm run clean:api-docs:astro && pnpm exec typedoc ./src/index.ts --out documentation/astro/src/content/api-docs/ --tsconfig ./tsconfig.json --plugin typedoc-plugin-markdown --plugin typedoc-plugin-frontmatter",
"gen:api-docs:astro": "pnpm run clean:api-docs:astro && pnpm run gen:api-docs:json && pnpm run gen:api-docs:zod",
"gen:api-docs": "pnpm run clean:api-docs && pnpm run gen:api-docs:html",
"build:docs:astro": "pnpm i --frozen-lockfile && pnpm run gen:api-docs:astro && cd documentation/astro/ && pnpm i --frozen-lockfile && pnpm run build",
"dev:docs:astro": "pnpm run gen:api-docs:astro && cd documentation/astro/ && pnpm run dev",
"dev:docs:html": "pnpm run gen:api-docs && serve docs/",
"dev:docs": "pnpm run gen:api-docs && pnpm exec serve docs/",
"test": "jest --silent=false",
"test:e2e": "echo 'Run e2e Tests'",
"build": "pnpm exec tsc",
"start": "node dist/dev.js",
"clean": "rm -Rf rawData && rm -Rf transformedData && rm -fr dist/",
"dev": "pnpm run clean && pnpm test && pnpm build && pnpm start"
}
}