Files
directus/packages/specs/package.json
rijkvanzanten d6b8e5963d v9.21.2
2022-11-28 15:44:12 -05:00

56 lines
1.2 KiB
JSON

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