package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "zod-to-json-schema",
  3. "version": "3.24.5",
  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 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. "c8": {
  31. "exclude": ["createIndex.ts", "postcjs.ts", "postesm.ts", "test"]
  32. },
  33. "keywords": ["zod", "json", "schema", "open", "api", "conversion"],
  34. "author": "Stefan Terdell",
  35. "contributors": [
  36. "Hammad Asif (https://github.com/mrhammadasif)",
  37. "Noah Rosenzweig (https://github.com/Noah2610)",
  38. "John Wright (https://github.com/johngeorgewright)",
  39. "Krzysztof Ciombor (https://github.com/krzysztofciombor)",
  40. "Yuta Mombetsu (https://github.com/mokocm)",
  41. "Tom Arad (https://github.com/tomarad)",
  42. "Isaac Way (https://github.com/iway1)",
  43. "Andreas Berger (https://github.com/Andy2003)",
  44. "Jan Potoms (https://github.com/Janpot)",
  45. "Santiago Cammi (https://github.com/scammi)",
  46. "Philipp Burckhardt (https://github.com/Planeshifter)",
  47. "Bram del Canho (https://github.com/Bram-dc)",
  48. "Gilad Hecht (https://github.com/gthecht)",
  49. "Colin McDonnell (https://github.com/colinhacks)",
  50. "Spappz (https://github.com/Spappz)",
  51. "Jacob Lee (https://github.com/jacoblee93)",
  52. "Brett Zamir (https://github.com/brettz9)",
  53. "Isaiah Marc Sanchez (https://github.com/imsanchez)",
  54. "Mitchell Merry (https://github.com/mitchell-merry)",
  55. "Enzo Monjardín (https://github.com/enzomonjardin)",
  56. "Víctor Hernández (https://github.com/NanezX)"
  57. ],
  58. "repository": {
  59. "type": "git",
  60. "url": "https://github.com/StefanTerdell/zod-to-json-schema"
  61. },
  62. "license": "ISC",
  63. "peerDependencies": {
  64. "zod": "^3.24.1"
  65. },
  66. "devDependencies": {
  67. "@types/json-schema": "^7.0.9",
  68. "@types/node": "^20.9.0",
  69. "ajv": "^8.6.3",
  70. "ajv-errors": "^3.0.0",
  71. "ajv-formats": "^2.1.1",
  72. "fast-diff": "^1.3.0",
  73. "local-ref-resolver": "^0.2.0",
  74. "rimraf": "^3.0.2",
  75. "tsx": "^4.19.0",
  76. "typescript": "^5.1.3",
  77. "zod": "^3.24.1"
  78. }
  79. }