@michaelmishin/speclens 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/README.md +94 -0
- package/dist/speclens.iife.js +3424 -0
- package/dist/speclens.iife.js.map +1 -0
- package/dist/speclens.js +30845 -0
- package/dist/speclens.js.map +1 -0
- package/package.json +54 -0
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@michaelmishin/speclens",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A modern, CDN-distributable OpenAPI documentation renderer with Try It console, code samples, and full-text search.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/MichaelMishin/SpecLens.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/MichaelMishin/SpecLens#readme",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"openapi",
|
|
13
|
+
"swagger",
|
|
14
|
+
"web-component",
|
|
15
|
+
"api-docs",
|
|
16
|
+
"documentation",
|
|
17
|
+
"openapi3",
|
|
18
|
+
"rest-api"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"main": "./dist/speclens.js",
|
|
22
|
+
"module": "./dist/speclens.js",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": "./dist/speclens.js",
|
|
27
|
+
"types": "./dist/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./cdn": "./dist/speclens.iife.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "vite",
|
|
36
|
+
"build": "tsc && vite build",
|
|
37
|
+
"preview": "vite preview",
|
|
38
|
+
"prepublishOnly": "npm run build"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@apidevtools/swagger-parser": "^10.1.0",
|
|
42
|
+
"buffer": "^6.0.3",
|
|
43
|
+
"httpsnippet-lite": "^3.0.5",
|
|
44
|
+
"lit": "^3.2.1",
|
|
45
|
+
"marked": "^15.0.0",
|
|
46
|
+
"minisearch": "^7.1.1",
|
|
47
|
+
"openapi-sampler": "^1.6.1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"terser": "^5.46.1",
|
|
51
|
+
"typescript": "^5.7.0",
|
|
52
|
+
"vite": "^6.0.0"
|
|
53
|
+
}
|
|
54
|
+
}
|