Files
directus/packages/specs/package.json
rijkvanzanten 703c5d9c69 v10.1.0
2023-05-11 17:22:00 -04:00

57 lines
1.2 KiB
JSON

{
"name": "@directus/specs",
"version": "10.1.0",
"description": "OpenAPI Specification of the Directus API",
"homepage": "https://directus.io",
"type": "module",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/specs"
},
"license": "BUSL-1.1",
"author": "Nils Twelker",
"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": "3.2.0"
},
"devDependencies": {
"npm-watch": "0.11.0",
"openapi-types": "12.1.0",
"swagger-cli": "4.0.4",
"swagger-ui-watcher": "2.1.13"
},
"publishConfig": {
"access": "public"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "yaml",
"quiet": true,
"silent": true
}
}
}