22 "name" : " @openapi-contrib/json-schema-to-openapi-schema" ,
33 "version" : " 0.0.0-development" ,
44 "description" : " Converts a JSON Schema to OpenAPI Schema Object" ,
5- "bin" : " bin/json-schema-to-openapi-schema.js" ,
6- "types" : " dist/index.d.ts" ,
75 "files" : [
86 " bin" ,
9- " dist"
7+ " dist" ,
8+ " CHANGELOG.md" ,
9+ " LICENSE" ,
10+ " package.json"
1011 ],
12+ "exports" : {
13+ "." : {
14+ "types" : " ./dist/index.d.ts" ,
15+ "require" : " ./dist/index.js" ,
16+ "import" : " ./dist/index.mjs"
17+ }
18+ },
19+ "bin" : " bin/json-schema-to-openapi-schema.js" ,
20+ "types" : " dist/index.d.ts" ,
1121 "main" : " dist/index.js" ,
22+ "module" : " dist/index.mjs" ,
1223 "scripts" : {
1324 "prepublish" : " yarn build" ,
14- "build" : " rimraf dist && tsc -p tsconfig.json " ,
25+ "build" : " rimraf dist && tsup src/index.ts --format esm,cjs --dts --clean " ,
1526 "lint" : " eslint . && prettier -c src" ,
1627 "lint:fix" : " eslint . --fix && prettier -c src -w" ,
1728 "typecheck" : " tsc --noEmit" ,
2536 "node" : " >=18"
2637 },
2738 "dependencies" : {
28- "@apidevtools/json-schema-ref-parser" : " ^11.6 .2" ,
39+ "@apidevtools/json-schema-ref-parser" : " ^11.7 .2" ,
2940 "json-schema-walker" : " ^2.0.0" ,
3041 "openapi-types" : " ^12.1.3" ,
3142 "yargs" : " ^17.7.2"
3243 },
3344 "devDependencies" : {
34- "@eslint/compat" : " ^1.0 .3" ,
45+ "@eslint/compat" : " ^1.2 .3" ,
3546 "@types/json-schema" : " ^7.0.15" ,
36- "c8" : " ^9 .1.0 " ,
37- "eslint" : " ^9.4 .0" ,
47+ "c8" : " ^10 .1.2 " ,
48+ "eslint" : " ^9.15 .0" ,
3849 "eslint-config-prettier" : " ^9.1.0" ,
39- "eslint-plugin-prettier" : " ^5.1.3" ,
40- "eslint-plugin-unused-imports" : " ^4.0.0" ,
41- "nock" : " ^13.5.4" ,
42- "prettier" : " ^3.3.0" ,
43- "rimraf" : " ^5.0.7" ,
44- "typescript" : " ^5.4.5" ,
45- "typescript-eslint" : " ^7.11.0" ,
46- "vitest" : " ^1.6.0"
50+ "eslint-plugin-prettier" : " ^5.2.1" ,
51+ "eslint-plugin-unused-imports" : " ^4.1.4" ,
52+ "nock" : " ^13.5.6" ,
53+ "prettier" : " ^3.3.3" ,
54+ "rimraf" : " ^6.0.1" ,
55+ "tsup" : " ^8.3.5" ,
56+ "typescript" : " ^5.6.3" ,
57+ "typescript-eslint" : " ^8.15.0" ,
58+ "vitest" : " ^2.1.5"
4759 },
4860 "prettier" : {
4961 "singleQuote" : true ,
5062 "useTabs" : true
5163 },
5264 "packageManager" : " yarn@4.2.2"
53- }
65+ }
0 commit comments