Module

x/zod/package.json

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
File
{ "name": "zod", "version": "3.0.0-alpha.4", "description": "TypeScript-first schema declaration and validation library with static type inference", "main": "./lib/cjs/index.js", "types": "./lib/cjs/index.d.ts", "files": [ "/lib" ], "repository": { "type": "git", "url": "https://github.com/colinhacks/zod" }, "author": "Colin McDonnell <colin@colinhacks.com>", "license": "MIT", "sideEffects": false, "bugs": { "url": "https://github.com/colinhacks/zod/issues" }, "homepage": "https://github.com/colinhacks/zod", "funding": "https://github.com/sponsors/colinhacks", "support": { "backing": { "npm-funding": true } }, "keywords": [ "typescript", "schema", "validation", "type", "inference" ], "scripts": { "check:format": "prettier --check \"src/**/*.ts\" \"deno/lib/**/*.ts\"", "fix:format": "prettier --write \"src/**/*.ts\" \"deno/lib/**/*.ts\"", "check:lint": "eslint --ext .ts ./src", "fix:lint": "eslint --fix --ext .ts ./src", "check": "yarn check:lint && yarn check:format", "fix": "yarn fix:lint && yarn fix:format", "clean": "rm -rf lib/* deno/lib/*", "build:deno": "node ./deno/build.mjs", "build": "yarn run clean && tsc --p tsconfig.cjs.json", "build:esm": "tsc --p tsconfig.esm.json", "test": "jest --coverage && yarn run badge", "testone": "jest", "badge": "make-coverage-badge --output-path ./coverage.svg", "prepublishOnly": "npm run build && npm run build:deno", "play": "nodemon -e ts -w . -x ts-node src/playground.ts --project tsconfig.json" }, "devDependencies": { "@types/jest": "^26.0.17", "@types/node": "^14.14.10", "@typescript-eslint/eslint-plugin": "^4.11.1", "@typescript-eslint/parser": "^4.11.1", "dependency-cruiser": "^9.19.0", "eslint": "^7.15.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-simple-import-sort": "^7.0.0", "husky": "^4.3.4", "jest": "^26.6.3", "lint-staged": "^10.5.3", "make-coverage-badge": "^1.2.0", "nodemon": "^2.0.2", "prettier": "^2.2.1", "ts-jest": "^26.4.4", "ts-node": "^9.1.0", "typescript": "4.1" }, "husky": { "hooks": { "pre-commit": "yarn build:deno && lint-staged" } }, "lint-staged": { "*.ts": [ "yarn fix:lint", "yarn fix:format" ] }}