Files
directus/packages/specs/package.json
Rijk van Zanten e5ba369c24 v10.13.2
2024-08-06 14:26:11 -04:00

51 lines
1.1 KiB
JSON

{
"name": "@directus/specs",
"version": "10.2.11",
"description": "OpenAPI Specification of the Directus API",
"homepage": "https://directus.io",
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/specs"
},
"funding": "https://github.com/directus/directus?sponsor=1",
"license": "BUSL-1.1",
"author": "Nils Twelker",
"type": "module",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"main": "index.js",
"files": [
"dist",
"index.d.ts",
"index.js"
],
"scripts": {
"build": "swagger-cli bundle src/openapi.yaml -o dist/openapi.json",
"build:deref": "swagger-cli bundle src/openapi.yaml -o dist/openapi-deref.json --dereference",
"dev": "npm-watch build",
"ui:watch": "swagger-ui-watcher src/openapi.yaml",
"validate": "swagger-cli validate src/openapi.yaml"
},
"dependencies": {
"openapi3-ts": "4.3.3"
},
"devDependencies": {
"npm-watch": "0.13.0",
"swagger-cli": "4.0.4",
"swagger-ui-watcher": "2.1.14"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "yaml",
"quiet": true,
"silent": true
}
}
}