mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 12:37:45 +00:00
Moved files into package.json project setup
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
output
|
.idea
|
||||||
.spectral.mjs
|
.spectral.mjs
|
||||||
node_modules
|
node_modules
|
||||||
.idea
|
output
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bundle": "swagger-cli bundle --dereference ../pms-spec.yaml -t yaml -o ../plex-media-server-spec-dereferenced.yaml",
|
"build": "swagger-cli bundle --dereference ./src/pms-spec.yaml -t yaml -o ./output/plex-media-server-spec-dereferenced.yaml",
|
||||||
"test": "bun run bundle && vitest --run",
|
"test": "bun run bundle && vitest --run",
|
||||||
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
|
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
|
||||||
"lint": "speakeasy lint openapi -s ../pms-spec.yaml",
|
"lint": "speakeasy lint openapi -s ./src/pms-spec.yaml",
|
||||||
"lint-bundled": "bun run bundle && speakeasy lint openapi -s ../plex-media-server-spec-dereferenced.yaml"
|
"lint-bundled": "bun run bundle && speakeasy lint openapi -s ./output/plex-media-server-spec-dereferenced.yaml"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user