mirror of
https://github.com/directus/directus.git
synced 2026-01-23 06:58:05 -05: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>
236 lines
5.9 KiB
JSON
236 lines
5.9 KiB
JSON
{
|
|
"name": "directus",
|
|
"version": "9.20.4",
|
|
"license": "GPL-3.0-only",
|
|
"homepage": "https://github.com/directus/directus#readme",
|
|
"description": "Directus is a real-time API and App dashboard for managing SQL database content.",
|
|
"keywords": [
|
|
"directus",
|
|
"realtime",
|
|
"database",
|
|
"content",
|
|
"api",
|
|
"rest",
|
|
"graphql",
|
|
"app",
|
|
"dashboard",
|
|
"headless",
|
|
"cms",
|
|
"mysql",
|
|
"postgresql",
|
|
"cockroachdb",
|
|
"sqlite",
|
|
"framework",
|
|
"vue"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/directus/directus.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/directus/directus/issues"
|
|
},
|
|
"author": {
|
|
"name": "Monospace Inc",
|
|
"email": "info@monospace.io",
|
|
"url": "https://monospace.io"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Rijk van Zanten",
|
|
"email": "rijkvanzanten@me.com",
|
|
"url": "https://github.com/rijkvanzanten"
|
|
},
|
|
{
|
|
"name": "Ben Haynes",
|
|
"email": "ben@rngr.org",
|
|
"url": "https://github.com/benhaynes"
|
|
}
|
|
],
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./*": "./dist/*.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"bin": {
|
|
"directus": "cli.js"
|
|
},
|
|
"scripts": {
|
|
"start": "npx directus start",
|
|
"prebuild": "pnpm cleanup",
|
|
"build": "tsc --build && copyfiles \"src/**/*.{yaml,liquid}\" -u 1 dist",
|
|
"cleanup": "rimraf dist",
|
|
"dev": "cross-env NODE_ENV=development SERVE_APP=false ts-node-dev --files --transpile-only --respawn --watch \".env\" --inspect=0 --exit-child -- src/start.ts",
|
|
"cli": "cross-env NODE_ENV=development SERVE_APP=false ts-node --script-mode --transpile-only src/cli/run.ts",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:watch": "vitest"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.20.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!**/*.test.js",
|
|
"!**/__*__/"
|
|
],
|
|
"dependencies": {
|
|
"@authenio/samlify-node-xmllint": "2.0.0",
|
|
"@aws-sdk/client-ses": "3.190.0",
|
|
"@directus/app": "workspace:*",
|
|
"@directus/drive": "workspace:*",
|
|
"@directus/drive-azure": "workspace:*",
|
|
"@directus/drive-gcs": "workspace:*",
|
|
"@directus/drive-s3": "workspace:*",
|
|
"@directus/extensions-sdk": "workspace:*",
|
|
"@directus/format-title": "9.15.0",
|
|
"@directus/schema": "workspace:*",
|
|
"@directus/shared": "workspace:*",
|
|
"@directus/specs": "workspace:*",
|
|
"@godaddy/terminus": "4.11.2",
|
|
"@rollup/plugin-alias": "4.0.0",
|
|
"@rollup/plugin-virtual": "3.0.0",
|
|
"argon2": "0.30.1",
|
|
"async": "3.2.4",
|
|
"async-mutex": "0.4.0",
|
|
"axios": "1.1.3",
|
|
"busboy": "1.6.0",
|
|
"bytes": "3.1.2",
|
|
"camelcase": "6.3.0",
|
|
"chalk": "4.1.1",
|
|
"chokidar": "3.5.3",
|
|
"commander": "9.4.1",
|
|
"cookie-parser": "1.4.6",
|
|
"cors": "2.8.5",
|
|
"csv-parser": "3.0.0",
|
|
"date-fns": "2.29.3",
|
|
"deep-diff": "1.0.2",
|
|
"deep-map": "2.0.0",
|
|
"destroy": "1.2.0",
|
|
"dotenv": "16.0.3",
|
|
"encodeurl": "1.0.2",
|
|
"eventemitter2": "6.4.9",
|
|
"execa": "5.1.1",
|
|
"exifr": "7.1.3",
|
|
"express": "4.18.2",
|
|
"fast-redact": "3.1.2",
|
|
"flat": "5.0.2",
|
|
"fs-extra": "10.1.0",
|
|
"globby": "11.0.4",
|
|
"graphql": "16.6.0",
|
|
"graphql-compose": "9.0.9",
|
|
"helmet": "6.0.0",
|
|
"inquirer": "8.2.4",
|
|
"ioredis": "5.2.3",
|
|
"joi": "17.6.3",
|
|
"js-yaml": "4.1.0",
|
|
"js2xmlparser": "5.0.0",
|
|
"json2csv": "5.0.7",
|
|
"jsonwebtoken": "8.5.1",
|
|
"keyv": "4.5.0",
|
|
"knex": "2.3.0",
|
|
"knex-schema-inspector": "3.0.0",
|
|
"ldapjs": "2.3.3",
|
|
"liquidjs": "9.42.0",
|
|
"lodash": "4.17.21",
|
|
"marked": "4.1.1",
|
|
"micromustache": "8.0.3",
|
|
"mime-types": "2.1.35",
|
|
"ms": "2.1.3",
|
|
"nanoid": "3.1.23",
|
|
"node-cron": "3.0.2",
|
|
"node-machine-id": "1.1.12",
|
|
"nodemailer": "6.8.0",
|
|
"object-hash": "3.0.0",
|
|
"openapi3-ts": "3.1.1",
|
|
"openid-client": "5.2.0",
|
|
"ora": "5.4.0",
|
|
"otplib": "12.0.1",
|
|
"pino": "8.6.1",
|
|
"pino-http": "8.2.1",
|
|
"pino-http-print": "3.1.0",
|
|
"qs": "6.11.0",
|
|
"rate-limiter-flexible": "2.3.12",
|
|
"resolve-cwd": "3.0.0",
|
|
"rollup": "3.2.3",
|
|
"samlify": "2.8.6",
|
|
"sanitize-html": "2.7.2",
|
|
"sharp": "0.31.1",
|
|
"snappy": "7.2.0",
|
|
"stream-json": "1.7.4",
|
|
"strip-bom-stream": "4.0.0",
|
|
"tmp-promise": "3.0.3",
|
|
"update-check": "1.5.4",
|
|
"uuid": "9.0.0",
|
|
"uuid-validate": "0.0.3",
|
|
"vm2": "3.9.11",
|
|
"wellknown": "0.5.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@keyv/redis": "2.5.2",
|
|
"keyv-memcache": "1.2.5",
|
|
"memcached": "2.2.2",
|
|
"mysql": "2.18.1",
|
|
"nodemailer-mailgun-transport": "2.1.5",
|
|
"nodemailer-sendgrid": "1.0.3",
|
|
"pg": "8.8.0",
|
|
"sqlite3": "5.1.2",
|
|
"tedious": "15.1.0"
|
|
},
|
|
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
|
|
"devDependencies": {
|
|
"@otplib/preset-default": "12.0.1",
|
|
"@types/async": "3.2.15",
|
|
"@types/busboy": "1.5.0",
|
|
"@types/bytes": "3.1.1",
|
|
"@types/cookie-parser": "1.4.3",
|
|
"@types/cors": "2.8.12",
|
|
"@types/deep-diff": "1.0.1",
|
|
"@types/destroy": "1.0.0",
|
|
"@types/encodeurl": "1.0.0",
|
|
"@types/express": "4.17.14",
|
|
"@types/express-pino-logger": "4.0.3",
|
|
"@types/express-serve-static-core": "4.17.31",
|
|
"@types/express-session": "1.17.5",
|
|
"@types/fast-redact": "3.0.2",
|
|
"@types/flat": "5.0.2",
|
|
"@types/fs-extra": "9.0.13",
|
|
"@types/inquirer": "8.2.1",
|
|
"@types/js-yaml": "4.0.5",
|
|
"@types/json2csv": "5.0.3",
|
|
"@types/jsonwebtoken": "8.5.9",
|
|
"@types/keyv": "3.1.4",
|
|
"@types/ldapjs": "2.2.4",
|
|
"@types/lodash": "4.14.186",
|
|
"@types/marked": "4.0.7",
|
|
"@types/mime-types": "2.1.1",
|
|
"@types/ms": "0.7.31",
|
|
"@types/node": "18.11.2",
|
|
"@types/node-cron": "3.0.4",
|
|
"@types/nodemailer": "6.4.6",
|
|
"@types/object-hash": "2.2.1",
|
|
"@types/pino": "7.0.4",
|
|
"@types/pino-http": "5.8.1",
|
|
"@types/qs": "6.9.7",
|
|
"@types/sanitize-html": "2.6.2",
|
|
"@types/sharp": "0.31.0",
|
|
"@types/stream-json": "1.7.2",
|
|
"@types/supertest": "2.0.12",
|
|
"@types/uuid": "8.3.4",
|
|
"@types/uuid-validate": "0.0.1",
|
|
"@types/wellknown": "0.5.3",
|
|
"@vitest/coverage-c8": "^0.25.1",
|
|
"copyfiles": "2.4.1",
|
|
"cross-env": "7.0.3",
|
|
"form-data": "4.0.0",
|
|
"knex-mock-client": "1.8.4",
|
|
"rimraf": "3.0.2",
|
|
"supertest": "6.3.0",
|
|
"ts-node": "10.9.1",
|
|
"ts-node-dev": "2.0.0",
|
|
"typescript": "4.8.4",
|
|
"vitest": "0.25.1"
|
|
}
|
|
}
|