Skip to content

Commit

Permalink
Add condition
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Jul 19, 2024
1 parent 80e3c93 commit 1738f01
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions packages/zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@
"version": "3.23.8",
"author": "Colin McDonnell <zod@colinhacks.com>",
"description": "TypeScript-first schema declaration and validation library with static type inference",
"files": [
"src",
"dist"
],
"files": ["src", "dist"],
"funding": "https://github.com/sponsors/colinhacks",
"homepage": "https://zod.dev",
"keywords": [
"typescript",
"schema",
"validation",
"type",
"inference"
],
"keywords": ["typescript", "schema", "validation", "type", "inference"],
"license": "MIT",
"sideEffects": false,
"main": "./dist/commonjs/index.js",
Expand All @@ -26,6 +17,7 @@
"./package.json": "./package.json",
".": {
"import": {
"@zod/source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
Expand All @@ -36,6 +28,7 @@
},
"./locales/*": {
"import": {
"@zod/source": "./src/locales/*",
"types": "./dist/esm/locales/*",
"default": "./dist/esm/locales/*"
},
Expand All @@ -51,9 +44,7 @@
".": "./src/index.ts",
"./locales/*": "./src/locales/*"
},
"sourceDialects": [
"@zod/source"
]
"sourceDialects": ["@zod/source"]
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1738f01

Please sign in to comment.