forked from wework/json-schema-to-openapi-schema
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.72 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "@openapi-contrib/json-schema-to-openapi-schema",
"version": "0.0.0-development",
"description": "Converts a JSON Schema to OpenAPI Schema Object",
"files": [
"bin",
"dist",
"CHANGELOG.md",
"LICENSE",
"package.json"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"bin": "bin/json-schema-to-openapi-schema.js",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"scripts": {
"prepublish": "yarn build",
"build": "rimraf dist && tsup src/index.ts --format esm,cjs --dts --clean",
"lint": "eslint . && prettier -c src",
"lint:fix": "eslint . --fix && prettier -c src -w",
"typecheck": "tsc --noEmit",
"test": "vitest",
"coverage": "vitest --coverage"
},
"repository": "github:openapi-contrib/json-schema-to-openapi-schema",
"author": "JonLuca DeCaro <apis@jonlu.ca>",
"license": "MIT",
"engines": {
"node": ">=18"
},
"peerDependencies": {
"openapi-types": "*"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^15.3.4",
"json-schema-walker": "^3.3.0",
"yargs": "^18.0.0"
},
"devDependencies": {
"@eslint/compat": "^2.0.3",
"@eslint/js": "^10.0.1",
"@types/json-schema": "^7.0.15",
"c8": "^11.0.0",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.4.0",
"nock": "^14.0.11",
"openapi-types": "^12.1.3",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"tsup": "^8.5.1",
"typescript": "^6.0.2",
"typescript-eslint": "^8.57.2",
"vitest": "^4.1.2"
},
"prettier": {
"singleQuote": true,
"useTabs": true
},
"packageManager": "yarn@4.13.0"
}