mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Exclude unnecessary files from packages * Add back 'copyfiles' in api to copy yaml and liquid files to dist * Exclude declaration maps and all declaration files for drive packages Excluding all declaration map files from published packages Since the "drive" packages are only expected to be used internally, it's enough to have the declaration files present when developing locally - no need to include the types in the published packages * Remove unnecessary entries in "files" field of app/package.json Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"name": "@directus/specs",
|
|
"version": "9.20.4",
|
|
"description": "OpenAPI Specification of the Directus API",
|
|
"main": "index.js",
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"ui:watch": "swagger-ui-watcher src/openapi.yaml",
|
|
"validate": "swagger-cli validate src/openapi.yaml",
|
|
"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"
|
|
},
|
|
"watch": {
|
|
"build": {
|
|
"patterns": [
|
|
"src"
|
|
],
|
|
"extensions": "yaml",
|
|
"quiet": true,
|
|
"silent": true
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/directus/directus.git"
|
|
},
|
|
"author": "Nils Twelker",
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/directus/directus/issues"
|
|
},
|
|
"homepage": "https://github.com/directus/directus#readme",
|
|
"files": [
|
|
"dist",
|
|
"index.d.ts",
|
|
"index.js"
|
|
],
|
|
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
|
|
"devDependencies": {
|
|
"npm-watch": "0.11.0",
|
|
"openapi-types": "12.0.2",
|
|
"swagger-cli": "4.0.4",
|
|
"swagger-ui-watcher": "2.1.12"
|
|
},
|
|
"dependencies": {
|
|
"openapi3-ts": "3.1.1"
|
|
}
|
|
}
|