package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "zod-to-json-schema",
  3. "version": "3.25.2",
  4. "description": "Converts Zod schemas to Json Schemas",
  5. "types": "./dist/types/index.d.ts",
  6. "main": "./dist/cjs/index.js",
  7. "module": "./dist/esm/index.js",
  8. "exports": {
  9. "import": {
  10. "types": "./dist/types/index.d.ts",
  11. "default": "./dist/esm/index.js"
  12. },
  13. "require": {
  14. "types": "./dist/types/index.d.ts",
  15. "default": "./dist/cjs/index.js"
  16. }
  17. },
  18. "scripts": {
  19. "build:test": "npm --prefix ./dist-test-v3 test && npm --prefix ./dist-test-v4 test",
  20. "build:types": "tsc -p tsconfig.types.json",
  21. "build:cjs": "tsc -p tsconfig.cjs.json && tsx postcjs.ts",
  22. "build:esm": "tsc -p tsconfig.esm.json && tsx postesm.ts",
  23. "build": "npm i && npm run gen && npm test && rimraf ./dist && npm run build:types && npm run build:cjs && npm run build:esm && npm run build:test",
  24. "dry": "npm run build && npm pub --dry-run",
  25. "test:watch": "tsx watch test/index.ts",
  26. "test:gen": "tsx test/createIndex.ts",
  27. "test": "tsx test/index.ts",
  28. "gen": "tsx createIndex.ts"
  29. },
  30. "keywords": [
  31. "zod",
  32. "json",
  33. "schema",
  34. "open",
  35. "api",
  36. "conversion"
  37. ],
  38. "author": "Stefan Terdell",
  39. "contributors": [
  40. "Hammad Asif (https://github.com/mrhammadasif)",
  41. "Noah Rosenzweig (https://github.com/Noah2610)",
  42. "John Wright (https://github.com/johngeorgewright)",
  43. "Krzysztof Ciombor (https://github.com/krzysztofciombor)",
  44. "Yuta Mombetsu (https://github.com/mokocm)",
  45. "Tom Arad (https://github.com/tomarad)",
  46. "Isaac Way (https://github.com/iway1)",
  47. "Andreas Berger (https://github.com/Andy2003)",
  48. "Jan Potoms (https://github.com/Janpot)",
  49. "Santiago Cammi (https://github.com/scammi)",
  50. "Philipp Burckhardt (https://github.com/Planeshifter)",
  51. "Bram del Canho (https://github.com/Bram-dc)",
  52. "Gilad Hecht (https://github.com/gthecht)",
  53. "Colin McDonnell (https://github.com/colinhacks)",
  54. "Spappz (https://github.com/Spappz)",
  55. "Jacob Lee (https://github.com/jacoblee93)",
  56. "Brett Zamir (https://github.com/brettz9)",
  57. "Isaiah Marc Sanchez (https://github.com/imsanchez)",
  58. "Mitchell Merry (https://github.com/mitchell-merry)",
  59. "Enzo Monjardín (https://github.com/enzomonjardin)",
  60. "Víctor Hernández (https://github.com/NanezX)",
  61. "Faïz Hernawan Abdillah (https://github.com/Abdillah)",
  62. "Felix Mosheev (https://github.com/felixmosh)"
  63. ],
  64. "repository": {
  65. "type": "git",
  66. "url": "https://github.com/StefanTerdell/zod-to-json-schema"
  67. },
  68. "license": "ISC",
  69. "peerDependencies": {
  70. "zod": "^3.25.28 || ^4"
  71. },
  72. "devDependencies": {
  73. "@types/json-schema": "^7.0.9",
  74. "@types/node": "^20.9.0",
  75. "ajv": "^8.6.3",
  76. "ajv-errors": "^3.0.0",
  77. "ajv-formats": "^2.1.1",
  78. "fast-diff": "^1.3.0",
  79. "local-ref-resolver": "^0.2.0",
  80. "rimraf": "^6.1.3",
  81. "tsx": "^4.19.0",
  82. "typescript": "^5.1.3",
  83. "zod": "^3.25.28 || ^4"
  84. }
  85. }