mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 04:20:40 +00:00
52 lines
1.8 KiB
JSON
52 lines
1.8 KiB
JSON
{
|
|
"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": "bun run build-referenced & bun run build-dereferenced & wait",
|
|
"build-referenced": "redocly bundle ./src/pms-spec.yaml --config ./redocly.yaml --ext yaml -o ./output/plex-media-server-spec-referenced.yaml",
|
|
"build-dereferenced": "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'",
|
|
"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.1",
|
|
"@ngneat/falso": "^7.3.0",
|
|
"@redocly/cli": "^1.34.3",
|
|
"@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",
|
|
"xml-js": "^1.6.11"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"lodash-es": "^4.17.21"
|
|
}
|
|
}
|