oapiex 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +15 -0
- package/README.md +221 -0
- package/bin/cli.mjs +2 -0
- package/dist/index.cjs +1424 -0
- package/dist/index.d.ts +310 -0
- package/dist/index.mjs +1302 -0
- package/package.json +97 -0
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oapiex",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "A CLI tool to extract OpenAPI specifications from documentations generated by readme.com and other similar platforms, and generate TypeScript SDKs for seamless API integration.",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"private": false,
|
|
8
|
+
"homepage": "https://oapi-extractor.toneflix.net",
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "https://github.com/toneflix/oapi-extractor.git",
|
|
11
|
+
"type": "git"
|
|
12
|
+
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"oapie": "bin/cli.mjs",
|
|
18
|
+
"openpie": "bin/cli.mjs"
|
|
19
|
+
},
|
|
20
|
+
"module": "./dist/index.mjs",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"bin",
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"keywords": [
|
|
34
|
+
"oapie",
|
|
35
|
+
"openapie",
|
|
36
|
+
"cli",
|
|
37
|
+
"command-line",
|
|
38
|
+
"tool",
|
|
39
|
+
"integration",
|
|
40
|
+
"sdk",
|
|
41
|
+
"api",
|
|
42
|
+
"developer",
|
|
43
|
+
"h3ravel",
|
|
44
|
+
"toneflix",
|
|
45
|
+
"arkstack",
|
|
46
|
+
"openapi",
|
|
47
|
+
"specification",
|
|
48
|
+
"readme.com",
|
|
49
|
+
"documentation",
|
|
50
|
+
"typescript",
|
|
51
|
+
"extractor",
|
|
52
|
+
"generator",
|
|
53
|
+
"automation"
|
|
54
|
+
],
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@h3ravel/musket": "^0.10.1",
|
|
57
|
+
"@h3ravel/shared": "^0.30.3",
|
|
58
|
+
"@happy-dom/server-renderer": "^20.8.9",
|
|
59
|
+
"axios": "^1.14.0",
|
|
60
|
+
"happy-dom": "^20.8.9",
|
|
61
|
+
"jsdom": "^29.0.1",
|
|
62
|
+
"prettier": "^3.8.1",
|
|
63
|
+
"puppeteer": "^24.40.0",
|
|
64
|
+
"tsdown": "^0.20.1"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@changesets/cli": "^2.29.5",
|
|
68
|
+
"@eslint/js": "^9.39.2",
|
|
69
|
+
"@eslint/markdown": "^7.5.1",
|
|
70
|
+
"@types/jsdom": "^28.0.1",
|
|
71
|
+
"@types/node": "^20.14.5",
|
|
72
|
+
"barrelize": "^1.7.4",
|
|
73
|
+
"eslint": "^9.39.2",
|
|
74
|
+
"tsx": "^4.20.3",
|
|
75
|
+
"typescript": "^5.4.5",
|
|
76
|
+
"typescript-eslint": "^8.53.0",
|
|
77
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
78
|
+
"vitepress": "^1.5.0",
|
|
79
|
+
"vitest": "^3.2.4",
|
|
80
|
+
"vue": "^3.5.13"
|
|
81
|
+
},
|
|
82
|
+
"scripts": {
|
|
83
|
+
"test": "pnpm vitest --run",
|
|
84
|
+
"test:watch": "pnpm vitest",
|
|
85
|
+
"lint": "eslint . --ext .ts --ext .js",
|
|
86
|
+
"cmd": "tsx src/cli.ts",
|
|
87
|
+
"build": "tsdown",
|
|
88
|
+
"version": "pnpm run build",
|
|
89
|
+
"unlink": "pnpm uninstall --global openapie || true",
|
|
90
|
+
"release": "pnpm changeset version && pnpm changeset publish",
|
|
91
|
+
"publish-it": "pnpm publish --tag latest",
|
|
92
|
+
"docs:dev": "vitepress dev docs",
|
|
93
|
+
"docs:build": "vitepress build docs",
|
|
94
|
+
"docs:preview": "vitepress preview docs",
|
|
95
|
+
"preuninstall": "node ./uninstall.js"
|
|
96
|
+
}
|
|
97
|
+
}
|