forked from wework/json-schema-to-openapi-schema
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
67 lines (67 loc) · 1.65 KB
/
package.json
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
{
"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": "OpenAPI Contrib",
"license": "MIT",
"engines": {
"node": ">=18"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.2",
"json-schema-walker": "^2.0.0",
"openapi-types": "^12.1.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.15.0",
"@types/json-schema": "^7.0.15",
"c8": "^10.1.2",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^15.12.0",
"nock": "^13.5.6",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"vitest": "^2.1.5"
},
"prettier": {
"singleQuote": true,
"useTabs": true
},
"packageManager": "[email protected]"
}