UNPKG

zod-error

Version:

Utilities to format and customize Zod error messages

56 lines (55 loc) 1.56 kB
{ "name": "zod-error", "license": "MIT", "author": "Andrew Vo-Nguyen <hello@andrewvo.co> (https://andrewvo.co)", "version": "1.5.0", "description": "Utilities to format and customize Zod error messages", "homepage": "https://github.com/andrewvo89/zod-error", "repository": "https://github.com/andrewvo89/zod-error", "keywords": [ "zod", "error", "validation", "nodejs", "typescript" ], "scripts": { "build": "eslint && rm -r -f lib && tsc -p tsconfig.json", "commit": "cz", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "eslint", "pack": "npm pack", "release:major": "yarn build && npm version major && npm publish", "release:minor": "yarn build && npm version minor && npm publish", "release:patch": "yarn build && npm version patch && npm publish", "test": "jest", "test:coverage": "yarn test --coverage" }, "dependencies": { "zod": "^3.20.2" }, "devDependencies": { "@types/jest": "^28.1.6", "@types/node": "^18.0.3", "@typescript-eslint/eslint-plugin": "^5.30.6", "@typescript-eslint/parser": "^5.30.6", "cz-conventional-changelog": "3.3.0", "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "jest": "^28.1.3", "prettier": "^2.7.1", "ts-jest": "^28.0.6", "typescript": "^4.7.4" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*", "LICENSE" ] }