mirror of
https://github.com/directus/directus.git
synced 2026-01-14 11:37:57 -05:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "@directus/specs",
|
|
"version": "11.1.0",
|
|
"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": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"npm-watch": "catalog:",
|
|
"swagger-cli": "catalog:",
|
|
"swagger-ui-watcher": "catalog:"
|
|
},
|
|
"watch": {
|
|
"build": {
|
|
"patterns": [
|
|
"src"
|
|
],
|
|
"extensions": "yaml",
|
|
"quiet": true,
|
|
"silent": true
|
|
}
|
|
}
|
|
}
|