{ "name": "@budibase/server", "email": "hi@budibase.com", "version": "0.0.0", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { "type": "git", "url": "https://github.com/Budibase/budibase.git" }, "scripts": { "prebuild": "rimraf dist/", "build": "node ./scripts/build.js", "postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client && copyfiles -f ../../yarn.lock ./dist/", "check:types": "tsc -p tsconfig.json --noEmit --paths null", "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-libs": "yarn build:isolated-vm-lib:string-templates && yarn build:isolated-vm-lib:bson", "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 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", "initialise": "node scripts/initialise.js", "env:multi:enable": "node scripts/multiTenancy.js enable", "env:multi:disable": "node scripts/multiTenancy.js disable", "env:selfhost:enable": "node scripts/selfhost.js enable", "env:selfhost:disable": "node scripts/selfhost.js disable", "env:localdomain:enable": "node scripts/localdomain.js enable", "env:localdomain:disable": "node scripts/localdomain.js disable", "env:account:enable": "node scripts/account.js enable", "env:account:disable": "node scripts/account.js disable" }, "keywords": [ "budibase" ], "author": "Budibase", "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "0.0.0", "@budibase/client": "0.0.0", "@budibase/pro": "0.0.0", "@budibase/shared-core": "0.0.0", "@budibase/string-templates": "0.0.0", "@budibase/frontend-core": "0.0.0", "@budibase/types": "0.0.0", "@bull-board/api": "5.10.2", "@bull-board/koa": "5.10.2", "@elastic/elasticsearch": "7.10.0", "@google-cloud/firestore": "6.8.0", "@koa/router": "8.0.8", "@socket.io/redis-adapter": "^8.2.1", "airtable": "0.10.1", "arangojs": "7.2.0", "aws-sdk": "2.1030.0", "bcrypt": "5.1.0", "bcryptjs": "2.4.3", "bull": "4.10.1", "chokidar": "3.5.3", "cookies": "0.8.0", "csvtojson": "2.0.10", "curlconverter": "3.21.0", "dd-trace": "5.2.0", "dotenv": "8.2.0", "form-data": "4.0.0", "global-agent": "3.0.0", "google-auth-library": "7.12.0", "google-spreadsheet": "3.2.0", "ioredis": "5.3.2", "isolated-vm": "^4.7.2", "jimp": "0.22.10", "joi": "17.6.0", "js-yaml": "4.1.0", "jsonschema": "1.4.0", "knex": "2.4.0", "koa": "2.13.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", "memorystream": "0.3.1", "mongodb": "^6.3.0", "mssql": "10.0.1", "mysql2": "3.5.2", "node-fetch": "2.6.7", "object-sizeof": "2.6.1", "open": "8.4.0", "openai": "^3.2.1", "openapi-types": "9.3.1", "pg": "8.10.0", "pouchdb": "7.3.0", "pouchdb-all-dbs": "1.1.1", "pouchdb-find": "7.2.2", "redis": "4", "serialize-error": "^7.0.1", "server-destroy": "1.0.1", "snowflake-promise": "^4.5.0", "socket.io": "4.6.1", "tar": "6.1.15", "to-json-schema": "0.2.5", "undici": "^6.0.1", "undici-types": "^6.0.1", "uuid": "^8.3.2", "validate.js": "0.13.1", "worker-farm": "1.7.0", "xml2js": "0.5.0" }, "devDependencies": { "@babel/preset-env": "7.16.11", "@swc/core": "1.3.71", "@swc/jest": "0.2.27", "@trendyol/jest-testcontainers": "2.1.1", "@types/global-agent": "2.1.1", "@types/google-spreadsheet": "3.1.5", "@types/jest": "29.5.5", "@types/koa": "2.13.4", "@types/koa-send": "^4.1.6", "@types/koa__router": "8.0.8", "@types/lodash": "4.14.200", "@types/mssql": "9.1.4", "@types/node-fetch": "2.6.4", "@types/oracledb": "5.2.2", "@types/pg": "8.6.6", "@types/server-destroy": "1.0.1", "@types/supertest": "2.0.14", "@types/tar": "6.1.5", "@types/uuid": "8.3.4", "apidoc": "0.50.4", "copyfiles": "2.4.1", "docker-compose": "0.23.17", "jest": "29.7.0", "jest-openapi": "0.14.2", "jest-runner": "29.7.0", "jest-serial-runner": "1.2.1", "nodemon": "2.0.15", "openapi-typescript": "5.2.0", "path-to-regexp": "6.2.0", "rimraf": "3.0.2", "supertest": "6.3.3", "swagger-jsdoc": "6.1.0", "testcontainers": "10.6.0", "timekeeper": "2.2.0", "ts-node": "10.8.1", "tsconfig-paths": "4.0.0", "typescript": "5.2.2", "update-dotenv": "1.1.1", "yargs": "13.2.4" }, "optionalDependencies": { "oracledb": "5.3.0" }, "nx": { "targets": { "dev": { "dependsOn": [ { "comment": "Required for pro usage when submodule not loaded", "projects": [ "@budibase/backend-core" ], "target": "build" } ] }, "build": { "outputs": [ "{projectRoot}/builder", "{projectRoot}/client", "{projectRoot}/dist" ], "dependsOn": [ { "projects": [ "@budibase/client", "@budibase/builder" ], "target": "build" } ] } } } }