UNPKG

zod-package-json

Version:

Zod schema for the package.json file format

77 lines (76 loc) • 1.75 kB
{ "name": "zod-package-json", "version": "3.0.0", "description": "Zod schema for the package.json file format", "keywords": [ "json", "npm", "package", "schema", "typescript", "zod" ], "bugs": { "url": "https://github.com/velut/zod-package-json/issues" }, "license": "MIT", "author": { "name": "Edoardo Scibona", "url": "https://github.com/velut" }, "repository": { "type": "git", "url": "https://github.com/velut/zod-package-json.git" }, "files": [ "dist" ], "type": "module", "sideEffects": false, "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./mini": { "types": "./dist/mini/index.d.ts", "default": "./dist/mini/index.js" } }, "scripts": { "check": "tsc --noEmit", "build": "tsc --noEmit && zshy", "attw": "attw --pack . --profile esm-only", "test": "vitest", "test:ci": "vitest run --coverage --bail 1", "lint": "oxfmt --check", "format": "oxfmt", "pre-push": "bun install && bun run lint && bun run build && bun run test:ci && bun run attw", "release": "npx np --no-cleanup --stage" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@vitest/coverage-v8": "^5.1.0", "oxfmt": "^0.78.0", "typescript": "^6.0.2", "vitest": "^5.1.0", "zshy": "^0.8.1" }, "peerDependencies": { "zod": "^4.0.0" }, "engines": { "node": ">=22" }, "zshy": { "exports": { "./package.json": "./package.json", ".": "./src/index.ts", "./mini": "./src/mini/index.ts" }, "cjs": false } }