|
2 | 2 | "name": "@openapi-contrib/json-schema-to-openapi-schema",
|
3 | 3 | "version": "0.0.0-development",
|
4 | 4 | "description": "Converts a JSON Schema to OpenAPI Schema Object",
|
5 |
| - "bin": { |
6 |
| - "json-schema-to-openapi-schema": "bin/json-schema-to-openapi-schema.js" |
7 |
| - }, |
8 |
| - "types": "dist/mjs/index.d.ts", |
| 5 | + "bin": "bin/json-schema-to-openapi-schema.js", |
| 6 | + "types": "dist/index.d.ts", |
9 | 7 | "files": [
|
10 |
| - "/bin", |
11 |
| - "/dist" |
| 8 | + "bin", |
| 9 | + "dist" |
12 | 10 | ],
|
13 |
| - "main": "dist/cjs/index.js", |
14 |
| - "module": "dist/mjs/index.js", |
15 |
| - "exports": { |
16 |
| - ".": { |
17 |
| - "import": "./dist/mjs/index.js", |
18 |
| - "require": "./dist/cjs/index.js" |
19 |
| - } |
20 |
| - }, |
| 11 | + "main": "dist/index.js", |
21 | 12 | "scripts": {
|
22 | 13 | "prepublish": "yarn build",
|
23 |
| - "build": "rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node scripts/fixup.cjs", |
| 14 | + "build": "rimraf dist && tsc -p tsconfig.json", |
24 | 15 | "lint": "eslint . && prettier -c src",
|
25 | 16 | "lint:fix": "eslint . --fix && prettier -c src -w",
|
26 | 17 | "typecheck": "tsc --noEmit",
|
|
31 | 22 | "author": "OpenAPI Contrib",
|
32 | 23 | "license": "MIT",
|
33 | 24 | "engines": {
|
34 |
| - "node": ">=14" |
| 25 | + "node": ">=18" |
35 | 26 | },
|
36 | 27 | "dependencies": {
|
37 |
| - "@apidevtools/json-schema-ref-parser": "^9.0.9", |
38 |
| - "json-schema-walker": "^1.1.0", |
39 |
| - "openapi-types": "^12.1.0", |
40 |
| - "yargs": "^17.6.2" |
| 28 | + "@apidevtools/json-schema-ref-parser": "^11.1.0", |
| 29 | + "json-schema-walker": "^2.0.0", |
| 30 | + "openapi-types": "^12.1.3", |
| 31 | + "yargs": "^17.7.2" |
41 | 32 | },
|
42 | 33 | "devDependencies": {
|
43 |
| - "@types/json-schema": "^7.0.11", |
44 |
| - "@typescript-eslint/eslint-plugin": "^5.49.0", |
45 |
| - "@typescript-eslint/parser": "^5.49.0", |
46 |
| - "c8": "^7.12.0", |
47 |
| - "eslint": "^8.32.0", |
48 |
| - "eslint-config-prettier": "^8.6.0", |
49 |
| - "eslint-plugin-prettier": "^4.2.1", |
50 |
| - "eslint-plugin-unused-imports": "^2.0.0", |
51 |
| - "nock": "^13.3.0", |
52 |
| - "prettier": "^2.8.3", |
53 |
| - "typescript": "^4.9.4", |
54 |
| - "vitest": "^0.28.1" |
| 34 | + "@types/json-schema": "^7.0.15", |
| 35 | + "@typescript-eslint/eslint-plugin": "^6.10.0", |
| 36 | + "@typescript-eslint/parser": "^6.10.0", |
| 37 | + "c8": "^8.0.1", |
| 38 | + "eslint": "^8.53.0", |
| 39 | + "eslint-config-prettier": "^9.0.0", |
| 40 | + "eslint-plugin-prettier": "^5.0.1", |
| 41 | + "eslint-plugin-unused-imports": "^3.0.0", |
| 42 | + "nock": "^13.3.8", |
| 43 | + "prettier": "^3.0.3", |
| 44 | + "rimraf": "^5.0.5", |
| 45 | + "typescript": "^5.2.2", |
| 46 | + "vitest": "^0.34.6" |
55 | 47 | },
|
56 | 48 | "prettier": {
|
57 | 49 | "singleQuote": true,
|
58 | 50 | "useTabs": true
|
59 |
| - } |
| 51 | + }, |
| 52 | + "packageManager": "[email protected]" |
60 | 53 | }
|
0 commit comments