@dfinity/zod-schemas
Version:
A collection of reusable Zod schemas and validators for common data patterns in ICP applications
67 lines (66 loc) • 1.55 kB
JSON
{
"name": "@dfinity/zod-schemas",
"version": "3.0.2",
"description": "A collection of reusable Zod schemas and validators for common data patterns in ICP applications",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/index.mjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"rmdir": "node ../../scripts/rmdir.mjs",
"ts-declaration": "tsc --emitDeclarationOnly --outDir dist",
"build": "npm run rmdir && mkdir -p dist && node esbuild.mjs && npm run ts-declaration",
"prepack": "npm run build",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/icp-js-canisters.git",
"directory": "packages/zod-schemas"
},
"bugs": {
"url": "https://github.com/dfinity/icp-js-canisters"
},
"keywords": [
"internet computer",
"internet-computer",
"ic",
"dfinity",
"dfx",
"canister",
"candid",
"motoko",
"javascript",
"typescript",
"blockchain",
"crypto",
"nns",
"network nervous system",
"network-nervous-system",
"sns",
"service nervous system",
"service-nervous-system"
],
"peerDependencies": {
"@icp-sdk/core": "*",
"zod": "^4"
}
}