{ "name": "@budibase/server", "email": "hi@budibase.com", "version": "2.0.14-alpha.0", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { "type": "git", "url": "https://github.com/Budibase/budibase.git" }, "scripts": { "prebuild": "rimraf dist/", "build": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", "postbuild": "copyfiles -u 1 src/**/*.svelte dist/ && copyfiles -u 1 src/**/*.hbs dist/ && copyfiles -u 1 src/**/*.json dist/", "test": "jest --coverage --maxWorkers=2", "test:watch": "jest --watch", "predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client", "build:docker": "yarn run predocker && docker build . -t app-service --label version=$BUDIBASE_RELEASE_VERSION", "build:docs": "node ./scripts/docs/generate.js open", "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:builder": "yarn run dev:stack:up && nodemon", "specs": "node specs/generate.js && 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" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "moduleNameMapper": { "@budibase/backend-core/(.*)": "/../backend-core/$1", "@budibase/backend-core": "/../backend-core/src", "@budibase/types": "/../types/src" }, "setupFiles": [ "./scripts/jestSetup.js" ], "collectCoverageFrom": [ "src/**/*.js", "!**/node_modules/**", "!src/db/views/*.js", "!src/api/controllers/deploy/**/*.js", "!src/*.js", "!src/api/controllers/static/**/*", "!src/db/dynamoClient.js", "!src/utilities/usageQuota.js", "!src/api/routes/tests/**/*", "!src/db/tests/**/*", "!src/tests/**/*", "!src/automations/tests/**/*", "!src/utilities/fileProcessor.js", "!src/utilities/fileSystem/**/*", "!src/utilities/redis.js" ], "coverageReporters": [ "lcov", "json", "clover" ] }, "keywords": [ "budibase" ], "author": "Budibase", "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "10.0.3", "@budibase/backend-core": "2.0.14-alpha.0", "@budibase/client": "2.0.14-alpha.0", "@budibase/pro": "2.0.14-alpha.0", "@budibase/string-templates": "2.0.14-alpha.0", "@budibase/types": "2.0.14-alpha.0", "@bull-board/api": "3.7.0", "@bull-board/koa": "3.9.4", "@elastic/elasticsearch": "7.10.0", "@google-cloud/firestore": "5.0.2", "@koa/router": "8.0.0", "@sendgrid/mail": "7.1.1", "@sentry/node": "6.17.7", "airtable": "0.10.1", "arangojs": "7.2.0", "aws-sdk": "2.1030.0", "bcryptjs": "2.4.3", "bull": "4.8.5", "chmodr": "1.2.0", "chokidar": "3.5.3", "csvtojson": "2.0.10", "curlconverter": "3.21.0", "dotenv": "8.2.0", "download": "8.0.0", "elastic-apm-node": "3.38.0", "fix-path": "3.0.0", "form-data": "4.0.0", "fs-extra": "8.1.0", "global-agent": "3.0.0", "google-auth-library": "7.12.0", "google-spreadsheet": "3.2.0", "jimp": "0.16.1", "joi": "17.6.0", "js-yaml": "4.1.0", "jsonschema": "1.4.0", "knex": "0.95.15", "koa": "2.7.0", "koa-body": "4.2.0", "koa-compress": "4.0.1", "koa-connect": "2.1.0", "koa-pino-logger": "3.0.0", "koa-send": "5.0.0", "koa-session": "5.12.0", "koa-static": "5.0.0", "koa2-ratelimit": "1.1.1", "lodash": "4.17.21", "memorystream": "0.3.1", "mongodb": "3.6.3", "mssql": "6.2.3", "mysql2": "2.3.3", "node-fetch": "2.6.7", "open": "8.4.0", "pg": "8.5.1", "pino-pretty": "4.0.0", "posthog-node": "1.3.0", "pouchdb": "7.3.0", "pouchdb-adapter-memory": "7.2.2", "pouchdb-all-dbs": "1.0.2", "pouchdb-find": "7.2.2", "pouchdb-replication-stream": "1.2.9", "redis": "4", "server-destroy": "1.0.1", "snowflake-promise": "^4.5.0", "socket.io": "^4.5.1", "svelte": "3.49.0", "swagger-parser": "10.0.3", "tar": "6.1.11", "to-json-schema": "0.2.5", "uuid": "3.3.2", "validate.js": "0.13.1", "vm2": "3.9.11", "worker-farm": "1.7.0", "xml2js": "0.4.23", "yargs": "13.2.4", "zlib": "1.0.5" }, "devDependencies": { "@babel/core": "7.17.4", "@babel/preset-env": "7.16.11", "@budibase/standard-components": "^0.9.139", "@jest/test-sequencer": "24.9.0", "@types/apidoc": "0.50.0", "@types/bson": "4.2.0", "@types/bull": "3.15.8", "@types/global-agent": "2.1.1", "@types/google-spreadsheet": "3.1.5", "@types/jest": "27.5.1", "@types/koa": "2.13.4", "@types/koa__router": "8.0.0", "@types/lodash": "4.14.180", "@types/mongodb": "3.6.3", "@types/node": "14.18.20", "@types/node-fetch": "2.6.1", "@types/oracledb": "5.2.2", "@types/redis": "4.0.11", "@typescript-eslint/parser": "5.12.0", "apidoc": "0.50.4", "babel-jest": "27.5.1", "copyfiles": "2.4.1", "docker-compose": "0.23.17", "eslint": "6.8.0", "ioredis-mock": "7.2.0", "is-wsl": "2.2.0", "jest": "27.5.1", "jest-openapi": "0.14.2", "nodemon": "2.0.15", "openapi-types": "9.3.1", "openapi-typescript": "5.2.0", "path-to-regexp": "6.2.0", "prettier": "2.5.1", "rimraf": "3.0.2", "supertest": "4.0.2", "swagger-jsdoc": "6.1.0", "timekeeper": "2.2.0", "ts-jest": "27.1.3", "ts-node": "10.5.0", "tsconfig-paths": "4.0.0", "typescript": "4.6.2", "update-dotenv": "1.1.1" }, "optionalDependencies": { "oracledb": "5.3.0" }, "gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc" }