UNPKG

@budibase/server

Version:
228 lines (227 loc) • 7.8 kB
{ "name": "@budibase/server", "email": "hi@budibase.com", "version": "3.23.38", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { "type": "git", "url": "https://github.com/Budibase/budibase.git" }, "scripts": { "prebuild": "rimraf dist/ client/", "build": "node ./scripts/build.js", "postbuild": "copyfiles -a -u 3 '../client/dist/**/*.js' client && copyfiles -f ../client/manifest.json client && copyfiles -f ../../yarn.lock ./dist/", "check:types": "tsc -p tsconfig.json --noEmit --paths null", "check:dependencies": "node ../../scripts/depcheck.js", "build:isolated-vm-lib:snippets": "esbuild --minify --bundle src/jsRunner/bundles/snippets.ts --outfile=src/jsRunner/bundles/snippets.ivm.bundle.js --platform=node --format=iife --global-name=snippets", "build:isolated-vm-lib:string-templates": "esbuild --minify --bundle src/jsRunner/bundles/index-helpers.ts --outfile=src/jsRunner/bundles/index-helpers.ivm.bundle.js --platform=node --format=iife --external:handlebars --global-name=helpers", "build:isolated-vm-lib:bson": "esbuild --minify --bundle src/jsRunner/bundles/bsonPackage.ts --outfile=src/jsRunner/bundles/bson.ivm.bundle.js --platform=node --format=iife --global-name=bson", "build:isolated-vm-lib:buffer": "esbuild --minify --bundle src/jsRunner/bundles/buffer.ts --outfile=src/jsRunner/bundles/buffer.ivm.bundle.js --platform=node --format=iife --global-name=buffer", "build:isolated-vm-libs": "yarn build:isolated-vm-lib:string-templates && yarn build:isolated-vm-lib:bson && yarn build:isolated-vm-lib:snippets && yarn build:isolated-vm-lib:buffer", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", "jest": "NODE_OPTIONS=\"--no-node-snapshot $NODE_OPTIONS\" jest", "test": "bash scripts/test.sh", "test:memory": "jest --maxWorkers=2 --logHeapUsage --forceExit", "test:watch": "jest --watch", "run:docker": "node --enable-source-maps dist/index.js", "run:docker:cluster": "pm2-runtime start pm2.config.js", "dev:stack:up": "node scripts/dev/manage.js up", "dev:stack:down": "node scripts/dev/manage.js down", "dev:stack:nuke": "node scripts/dev/manage.js nuke", "dev": "yarn run dev:stack:up && nodemon", "dev:built": "yarn run dev:stack:up && yarn run run:docker", "specs": "ts-node specs/generate.ts && openapi-typescript specs/openapi.yaml --output src/definitions/openapi.ts" }, "keywords": [ "budibase" ], "author": "Budibase", "license": "GPL-3.0", "dependencies": { "@ai-sdk/openai": "^2.0.68", "@anthropic-ai/sdk": "^0.27.3", "@apidevtools/swagger-parser": "12.1.0", "@aws-sdk/client-dynamodb": "3.709.0", "@aws-sdk/client-s3": "3.709.0", "@aws-sdk/lib-dynamodb": "3.709.0", "@aws-sdk/s3-request-presigner": "3.709.0", "@azure/msal-node": "^2.5.1", "@budibase/backend-core": "*", "@budibase/client": "*", "@budibase/frontend-core": "*", "@budibase/nano": "10.1.5", "@budibase/pro": "*", "@budibase/shared-core": "*", "@budibase/string-templates": "*", "@budibase/types": "*", "@bull-board/api": "5.10.2", "@bull-board/koa": "5.10.2", "@elastic/elasticsearch": "7.10.0", "@google-cloud/firestore": "7.8.0", "@koa/cors": "5.0.0", "@koa/router": "13.1.0", "@octokit/rest": "^20.0.0", "@socket.io/redis-adapter": "^8.2.1", "@types/xml2js": "^0.4.14", "ai": "^5.0.93", "airtable": "0.12.2", "arangojs": "7.2.0", "archiver": "7.0.1", "bcrypt": "5.1.0", "bcryptjs": "2.4.3", "bson": "^6.9.0", "buffer": "6.0.3", "bull": "4.10.1", "chokidar": "3.5.3", "content-disposition": "^0.5.4", "cookies": "0.8.0", "csvtojson": "2.0.10", "curlconverter": "3.21.0", "dayjs": "^1.10.8", "dd-trace": "5.56.0", "dotenv": "8.2.0", "extract-zip": "^2.0.1", "form-data": "4.0.4", "global-agent": "3.0.0", "google-auth-library": "^8.0.1", "google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5", "html-to-text": "^9.0.5", "http-graceful-shutdown": "^3.1.12", "imapflow": "^1.1.0", "ioredis": "5.3.2", "isolated-vm": "^6.0.1", "jimp": "1.1.4", "joi": "17.6.0", "js-yaml": "4.1.1", "jsonschema": "1.4.0", "jsonwebtoken": "9.0.2", "knex": "2.4.2", "koa": "2.15.4", "koa-body": "4.2.0", "koa-compress": "4.0.1", "koa-send": "5.0.1", "koa-useragent": "^4.1.0", "koa2-ratelimit": "1.1.1", "lodash": "4.17.21", "mailparser": "^3.7.2", "memorystream": "0.3.1", "mongodb": "6.7.0", "mssql": "11.0.1", "mysql2": "3.9.8", "node-fetch": "2.6.7", "object-sizeof": "2.6.1", "openai": "5.12.1", "openapi-types": "9.3.1", "oracledb": "6.5.1", "pg": "8.10.0", "pouchdb": "9.0.0", "pouchdb-all-dbs": "1.1.1", "pouchdb-find": "9.0.0", "redis": "4", "serialize-error": "^7.0.1", "server-destroy": "1.0.1", "snowflake-sdk": "^1.15.0", "socket.io": "4.8.1", "svelte": "4.2.19", "tar": "6.2.1", "tmp": "0.2.3", "to-json-schema": "0.2.5", "uuid": "^8.3.2", "validate.js": "0.13.1", "worker-farm": "1.7.0", "xml2js": "0.6.2", "zod-validation-error": "^5.0.0" }, "devDependencies": { "@babel/core": "^7.22.5", "@babel/preset-env": "7.16.11", "@types/archiver": "6.0.2", "@types/formidable": "^1.0.31", "@types/global-agent": "2.1.1", "@types/html-to-text": "^9.0.4", "@types/js-yaml": "^4.0.9", "@types/json-schema": "^7.0.15", "@types/koa": "2.13.4", "@types/koa-send": "^4.1.6", "@types/koa__cors": "5.0.0", "@types/koa__router": "12.0.4", "@types/lodash": "4.14.200", "@types/mailparser": "^3.4.6", "@types/mssql": "9.1.5", "@types/node-fetch": "2.6.4", "@types/oracledb": "6.5.1", "@types/pg": "8.6.6", "@types/pouchdb": "6.4.2", "@types/server-destroy": "1.0.1", "@types/supertest": "2.0.14", "@types/swagger-jsdoc": "^6.0.4", "@types/tar": "6.1.5", "@types/tmp": "0.2.6", "@types/uuid": "8.3.4", "chance": "^1.1.12", "copyfiles": "2.4.1", "docker-compose": "1.2.0", "ioredis-mock": "8.9.0", "jest-extended": "^4.0.2", "jest-mock": "^30.0.5", "jest-openapi": "0.14.2", "nock": "13.5.4", "nodemon": "2.0.15", "openapi-typescript": "5.2.0", "rimraf": "3.0.2", "supertest": "6.3.3", "swagger-jsdoc": "6.1.0", "timekeeper": "2.2.0", "ts-node": "10.8.1", "tsconfig-paths": "4.0.0", "undici": "^5.28.4", "yargs": "^17.7.2", "zod": "^4.1.12" }, "resolutions": { "@budibase/pro": "npm:@budibase/pro@latest" }, "nx": { "targets": { "dev": { "dependsOn": [ { "comment": "Required for pro usage when submodule not loaded", "projects": [ "@budibase/backend-core" ], "target": "build:oss" } ] }, "build": { "inputs": [ "default", "{projectRoot}/src", "{projectRoot}/builder", "{projectRoot}/client", "{projectRoot}/scripts", "{projectRoot}/package.json", "{projectRoot}/tsconfig*.json" ], "outputs": [ "{projectRoot}/builder", "{projectRoot}/client", "{projectRoot}/dist" ], "dependsOn": [ { "projects": [ "@budibase/client", "@budibase/builder" ], "target": "build" } ] } } }, "gitHead": "83fecbd6e6b9e5f5d26369ce51d2173801925e3a" }