-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
48 lines (48 loc) · 1.67 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
{
"name": "plex-api-spec",
"version": "1.0.0",
"description": "An open source Plex Media Server API Specification",
"main": "src/pms-spec.yaml",
"type": "module",
"author": "LukeHagar",
"keywords": [
"plex",
"api",
"specification",
"openapi",
"swagger"
],
"license": "MIT",
"scripts": {
"dev": "redocly preview -d=./src",
"preview-docs": "redocly preview-docs src/pms-spec.yaml --config=./redocly.yaml",
"stats": "redocly stats ./src/pms-spec.yaml",
"build": "swagger-cli bundle --dereference ./src/pms-spec.yaml -t yaml -o ./output/plex-media-server-spec-dereferenced.yaml",
"build-watch": "bun run build && chokidar './src/**/*' -c 'bun run build'",
"build-redocly": "redocly bundle ./src/pms-spec.yaml --ext yaml -o ./output/plex-media-server-spec-dereferenced.yaml",
"test": "bun run build && vitest --run",
"type-check": "tsc",
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
"format": "bun prettier . --write",
"lint": "redocly lint",
"lint-speakeasy": "speakeasy lint openapi -s ./src/pms-spec.yaml",
"lint-bundled": "speakeasy lint openapi -s ./output/plex-media-server-spec-dereferenced.yaml"
},
"devDependencies": {
"@modyfi/vite-plugin-yaml": "^1.1.0",
"@redocly/cli": "^1.23.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.0",
"chokidar-cli": "^3.0.0",
"prettier": "3.3.3",
"swagger-cli": "^4.0.4",
"typescript": "^5.5.4",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5"
},
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"lodash-es": "^4.17.21"
}
}