@hono/zod-validator
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@hono/zod-validator", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Validator middleware using Zod", | ||
"type": "module", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"types": "dist/esm/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/esm/index.d.ts", | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"files": [ | ||
@@ -12,6 +20,7 @@ "dist" | ||
"scripts": { | ||
"test": "jest", | ||
"test": "vitest --run", | ||
"copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:esm": "tsc -p tsconfig.esm.json", | ||
"build": "rimraf dist && yarn build:cjs && yarn build:esm", | ||
"build": "rimraf dist && yarn build:cjs && yarn build:esm && yarn copy:package.cjs.json", | ||
"prerelease": "yarn build && yarn test", | ||
@@ -39,4 +48,5 @@ "release": "yarn publish" | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.4.0", | ||
"zod": "^3.22.4" | ||
} | ||
} |
5032
6
Yes
6