{ "name": "@budibase/server", "email": "hi@budibase.com", "version": "1.0.27-alpha.0", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { "type": "git", "url": "https://github.com/Budibase/budibase.git" }, "scripts": { "build": "rimraf dist/ && tsc && mv dist/src/* dist/ && rmdir dist/src/ && yarn postbuild", "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", "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", "format": "prettier --config ../../.prettierrc.json 'src/**/*.ts' --write", "lint": "eslint --fix src/", "lint:fix": "yarn run format && yarn run lint", "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", "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/auth": "^1.0.27-alpha.0", "@budibase/client": "^1.0.27-alpha.0", "@budibase/string-templates": "^1.0.27-alpha.0", "@bull-board/api": "^3.7.0", "@bull-board/koa": "^3.7.0", "@elastic/elasticsearch": "7.10.0", "@koa/router": "8.0.0", "@sendgrid/mail": "7.1.1", "@sentry/node": "^6.0.0", "airtable": "0.10.1", "arangojs": "7.2.0", "aws-sdk": "^2.767.0", "bcryptjs": "2.4.3", "bull": "^3.22.4", "chmodr": "1.2.0", "csvtojson": "2.0.10", "curlconverter": "^3.21.0", "dotenv": "8.2.0", "download": "8.0.0", "fix-path": "3.0.0", "form-data": "^4.0.0", "fs-extra": "8.1.0", "jimp": "0.16.1", "joi": "17.2.1", "js-yaml": "^4.1.0", "jsonschema": "1.4.0", "knex": "^0.95.6", "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", "lodash": "4.17.21", "memorystream": "^0.3.1", "mongodb": "3.6.3", "mssql": "6.2.3", "mysql2": "^2.3.1", "node-fetch": "2.6.0", "open": "^8.4.0", "pg": "8.5.1", "pino-pretty": "4.0.0", "posthog-node": "^1.1.4", "pouchdb": "7.2.1", "pouchdb-adapter-memory": "^7.2.1", "pouchdb-all-dbs": "1.0.2", "pouchdb-find": "^7.2.2", "pouchdb-replication-stream": "1.2.9", "server-destroy": "1.0.1", "svelte": "^3.38.2", "to-json-schema": "0.2.5", "uuid": "3.3.2", "validate.js": "0.13.1", "vm2": "^3.9.3", "worker-farm": "^1.7.0", "xml2js": "^0.4.23", "yargs": "13.2.4", "zlib": "1.0.5" }, "devDependencies": { "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.4", "@budibase/standard-components": "^0.9.139", "@jest/test-sequencer": "^24.8.0", "@types/apidoc": "^0.50.0", "@types/bull": "^3.15.1", "@types/jest": "^26.0.23", "@types/koa": "^2.13.3", "@types/koa-router": "^7.4.2", "@types/node": "^15.12.4", "@types/oracledb": "^5.2.1", "@typescript-eslint/parser": "4.28.0", "apidoc": "^0.50.2", "babel-jest": "^27.0.2", "copyfiles": "^2.4.1", "docker-compose": "^0.23.6", "eslint": "^6.8.0", "jest": "^27.0.5", "nodemon": "^2.0.4", "openapi-types": "^9.3.1", "path-to-regexp": "^6.2.0", "prettier": "^2.3.1", "rimraf": "^3.0.2", "supertest": "^4.0.2", "ts-jest": "^27.0.3", "ts-node": "^10.0.0", "typescript": "^4.3.5", "update-dotenv": "^1.1.1" }, "optionalDependencies": { "oracledb": "^5.3.0" }, "gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc" }