2019-06-07 15:18:10 +02:00
|
|
|
{
|
2019-09-10 07:00:19 +02:00
|
|
|
"name": "@budibase/server",
|
2020-11-14 18:43:52 +01:00
|
|
|
"email": "hi@budibase.com",
|
2022-11-02 09:33:09 +01:00
|
|
|
"version": "2.1.4",
|
2019-07-16 23:14:57 +02:00
|
|
|
"description": "Budibase Web Server",
|
2021-11-25 17:13:19 +01:00
|
|
|
"main": "src/index.ts",
|
2020-05-14 22:18:36 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Budibase/budibase.git"
|
|
|
|
},
|
2019-06-07 15:18:10 +02:00
|
|
|
"scripts": {
|
2022-06-09 14:15:20 +02:00
|
|
|
"prebuild": "rimraf dist/",
|
|
|
|
"build": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/",
|
|
|
|
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
2022-05-10 17:37:24 +02:00
|
|
|
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
|
2021-06-25 19:46:50 +02:00
|
|
|
"postbuild": "copyfiles -u 1 src/**/*.svelte dist/ && copyfiles -u 1 src/**/*.hbs dist/ && copyfiles -u 1 src/**/*.json dist/",
|
2021-06-25 14:46:02 +02:00
|
|
|
"test": "jest --coverage --maxWorkers=2",
|
2020-06-11 15:35:45 +02:00
|
|
|
"test:watch": "jest --watch",
|
2021-09-23 18:03:03 +02:00
|
|
|
"predocker": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
|
2021-11-22 18:25:57 +01:00
|
|
|
"build:docker": "yarn run predocker && docker build . -t app-service --label version=$BUDIBASE_RELEASE_VERSION",
|
2021-11-25 19:13:14 +01:00
|
|
|
"build:docs": "node ./scripts/docs/generate.js open",
|
2021-06-25 17:37:01 +02:00
|
|
|
"run:docker": "node dist/index.js",
|
2022-05-23 20:13:02 +02:00
|
|
|
"run:docker:cluster": "pm2-runtime start pm2.config.js",
|
2021-03-22 18:05:00 +01:00
|
|
|
"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",
|
2021-06-29 09:20:17 +02:00
|
|
|
"dev:builder": "yarn run dev:stack:up && nodemon",
|
2022-03-01 20:00:28 +01:00
|
|
|
"specs": "node specs/generate.js && openapi-typescript specs/openapi.yaml --output src/definitions/openapi.ts",
|
2021-09-21 21:21:15 +02:00
|
|
|
"initialise": "node scripts/initialise.js",
|
2021-10-08 14:13:16 +02:00
|
|
|
"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"
|
2019-06-07 15:18:10 +02:00
|
|
|
},
|
2021-03-02 18:13:11 +01:00
|
|
|
"jest": {
|
2021-06-25 14:46:02 +02:00
|
|
|
"preset": "ts-jest",
|
2021-03-02 18:13:11 +01:00
|
|
|
"testEnvironment": "node",
|
2022-06-10 23:57:12 +02:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"@budibase/backend-core/(.*)": "<rootDir>/../backend-core/$1",
|
|
|
|
"@budibase/backend-core": "<rootDir>/../backend-core/src",
|
|
|
|
"@budibase/types": "<rootDir>/../types/src"
|
|
|
|
},
|
2021-03-02 18:13:11 +01:00
|
|
|
"setupFiles": [
|
|
|
|
"./scripts/jestSetup.js"
|
|
|
|
],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.js",
|
|
|
|
"!**/node_modules/**",
|
2021-03-03 18:52:41 +01:00
|
|
|
"!src/db/views/*.js",
|
2021-03-09 17:07:44 +01:00
|
|
|
"!src/api/controllers/deploy/**/*.js",
|
2021-03-11 19:29:48 +01:00
|
|
|
"!src/*.js",
|
2021-03-11 19:36:36 +01:00
|
|
|
"!src/api/controllers/static/**/*",
|
2021-03-12 16:32:16 +01:00
|
|
|
"!src/db/dynamoClient.js",
|
|
|
|
"!src/utilities/usageQuota.js",
|
|
|
|
"!src/api/routes/tests/**/*",
|
2021-03-17 00:30:20 +01:00
|
|
|
"!src/db/tests/**/*",
|
2021-03-12 16:32:16 +01:00
|
|
|
"!src/tests/**/*",
|
2021-03-15 18:14:56 +01:00
|
|
|
"!src/automations/tests/**/*",
|
2021-03-24 21:44:52 +01:00
|
|
|
"!src/utilities/fileProcessor.js",
|
2021-05-21 14:08:59 +02:00
|
|
|
"!src/utilities/fileSystem/**/*",
|
2021-09-21 21:21:15 +02:00
|
|
|
"!src/utilities/redis.js"
|
2021-03-02 18:42:32 +01:00
|
|
|
],
|
|
|
|
"coverageReporters": [
|
|
|
|
"lcov",
|
|
|
|
"json",
|
|
|
|
"clover"
|
2021-03-02 18:13:11 +01:00
|
|
|
]
|
|
|
|
},
|
2019-06-07 15:18:10 +02:00
|
|
|
"keywords": [
|
|
|
|
"budibase"
|
|
|
|
],
|
2020-11-09 16:24:29 +01:00
|
|
|
"author": "Budibase",
|
2021-11-17 15:21:16 +01:00
|
|
|
"license": "GPL-3.0",
|
2019-06-07 15:18:10 +02:00
|
|
|
"dependencies": {
|
2022-06-09 13:33:10 +02:00
|
|
|
"@apidevtools/swagger-parser": "10.0.3",
|
2022-11-02 09:33:09 +01:00
|
|
|
"@budibase/backend-core": "^2.1.4",
|
|
|
|
"@budibase/client": "^2.1.4",
|
2022-11-01 14:47:21 +01:00
|
|
|
"@budibase/pro": "2.1.3",
|
2022-11-02 09:33:09 +01:00
|
|
|
"@budibase/string-templates": "^2.1.4",
|
|
|
|
"@budibase/types": "^2.1.4",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@bull-board/api": "3.7.0",
|
|
|
|
"@bull-board/koa": "3.9.4",
|
2021-02-05 10:39:42 +01:00
|
|
|
"@elastic/elasticsearch": "7.10.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@google-cloud/firestore": "5.0.2",
|
2022-10-07 22:08:20 +02:00
|
|
|
"@koa/router": "8.0.8",
|
2021-02-05 10:39:42 +01:00
|
|
|
"@sendgrid/mail": "7.1.1",
|
2022-02-16 12:43:38 +01:00
|
|
|
"@sentry/node": "6.17.7",
|
2021-02-05 10:39:42 +01:00
|
|
|
"airtable": "0.10.1",
|
|
|
|
"arangojs": "7.2.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"aws-sdk": "2.1030.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"bcryptjs": "2.4.3",
|
2022-10-21 19:25:35 +02:00
|
|
|
"bull": "4.10.1",
|
2021-02-05 10:39:42 +01:00
|
|
|
"chmodr": "1.2.0",
|
2022-09-12 15:05:36 +02:00
|
|
|
"chokidar": "3.5.3",
|
2021-02-05 10:39:42 +01:00
|
|
|
"csvtojson": "2.0.10",
|
2022-06-09 13:33:10 +02:00
|
|
|
"curlconverter": "3.21.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"dotenv": "8.2.0",
|
|
|
|
"download": "8.0.0",
|
2022-08-30 11:59:27 +02:00
|
|
|
"elastic-apm-node": "3.38.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"fix-path": "3.0.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"form-data": "4.0.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"fs-extra": "8.1.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"global-agent": "3.0.0",
|
|
|
|
"google-auth-library": "7.12.0",
|
|
|
|
"google-spreadsheet": "3.2.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"jimp": "0.16.1",
|
2022-08-02 10:39:30 +02:00
|
|
|
"joi": "17.6.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"js-yaml": "4.1.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"jsonschema": "1.4.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"knex": "0.95.15",
|
2022-10-07 22:08:20 +02:00
|
|
|
"koa": "2.13.4",
|
2021-02-05 10:39:42 +01:00
|
|
|
"koa-body": "4.2.0",
|
|
|
|
"koa-compress": "4.0.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"koa-connect": "2.1.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"koa-pino-logger": "3.0.0",
|
|
|
|
"koa-send": "5.0.0",
|
|
|
|
"koa-session": "5.12.0",
|
|
|
|
"koa-static": "5.0.0",
|
2022-07-13 14:41:49 +02:00
|
|
|
"koa2-ratelimit": "1.1.1",
|
2021-05-07 10:57:55 +02:00
|
|
|
"lodash": "4.17.21",
|
2022-06-09 13:33:10 +02:00
|
|
|
"memorystream": "0.3.1",
|
2022-08-25 12:02:46 +02:00
|
|
|
"mongodb": "4.9",
|
2021-02-05 10:39:42 +01:00
|
|
|
"mssql": "6.2.3",
|
2022-06-09 13:33:10 +02:00
|
|
|
"mysql2": "2.3.3",
|
2022-01-24 16:43:06 +01:00
|
|
|
"node-fetch": "2.6.7",
|
2022-06-09 13:33:10 +02:00
|
|
|
"open": "8.4.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"pg": "8.5.1",
|
|
|
|
"pino-pretty": "4.0.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"posthog-node": "1.3.0",
|
2022-04-20 18:33:42 +02:00
|
|
|
"pouchdb": "7.3.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"pouchdb-adapter-memory": "7.2.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"pouchdb-all-dbs": "1.0.2",
|
2022-06-09 13:33:10 +02:00
|
|
|
"pouchdb-find": "7.2.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"pouchdb-replication-stream": "1.2.9",
|
2022-03-02 13:27:09 +01:00
|
|
|
"redis": "4",
|
2021-02-05 10:39:42 +01:00
|
|
|
"server-destroy": "1.0.1",
|
2022-06-01 12:58:17 +02:00
|
|
|
"snowflake-promise": "^4.5.0",
|
2022-08-19 12:09:20 +02:00
|
|
|
"socket.io": "^4.5.1",
|
2022-07-15 18:39:40 +02:00
|
|
|
"svelte": "3.49.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"swagger-parser": "10.0.3",
|
2022-09-12 15:05:36 +02:00
|
|
|
"tar": "6.1.11",
|
2021-02-05 10:39:42 +01:00
|
|
|
"to-json-schema": "0.2.5",
|
|
|
|
"uuid": "3.3.2",
|
|
|
|
"validate.js": "0.13.1",
|
2022-09-29 11:25:40 +02:00
|
|
|
"vm2": "3.9.11",
|
2022-06-09 13:33:10 +02:00
|
|
|
"worker-farm": "1.7.0",
|
|
|
|
"xml2js": "0.4.23",
|
2021-02-05 10:39:42 +01:00
|
|
|
"yargs": "13.2.4",
|
|
|
|
"zlib": "1.0.5"
|
2019-06-14 11:05:46 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-09 13:33:10 +02:00
|
|
|
"@babel/core": "7.17.4",
|
2022-06-09 14:33:31 +02:00
|
|
|
"@babel/preset-env": "7.16.11",
|
2022-06-13 12:34:28 +02:00
|
|
|
"@budibase/standard-components": "^0.9.139",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@jest/test-sequencer": "24.9.0",
|
|
|
|
"@types/apidoc": "0.50.0",
|
|
|
|
"@types/bson": "4.2.0",
|
2022-06-13 12:34:28 +02:00
|
|
|
"@types/global-agent": "2.1.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/google-spreadsheet": "3.1.5",
|
2022-10-21 19:25:35 +02:00
|
|
|
"@types/ioredis": "4.28.10",
|
2022-06-13 12:34:28 +02:00
|
|
|
"@types/jest": "27.5.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/koa": "2.13.4",
|
2022-10-07 22:08:20 +02:00
|
|
|
"@types/koa__router": "8.0.11",
|
2022-03-24 11:07:23 +01:00
|
|
|
"@types/lodash": "4.14.180",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/node": "14.18.20",
|
2022-06-13 12:34:28 +02:00
|
|
|
"@types/node-fetch": "2.6.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/oracledb": "5.2.2",
|
2022-10-25 10:02:55 +02:00
|
|
|
"@types/pouchdb": "6.4.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/redis": "4.0.11",
|
2022-02-16 11:39:32 +01:00
|
|
|
"@typescript-eslint/parser": "5.12.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"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",
|
2022-06-10 23:57:12 +02:00
|
|
|
"tsconfig-paths": "4.0.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"typescript": "4.6.2",
|
|
|
|
"update-dotenv": "1.1.1"
|
2019-06-19 23:05:53 +02:00
|
|
|
},
|
2021-11-22 15:49:39 +01:00
|
|
|
"optionalDependencies": {
|
2022-06-09 13:33:10 +02:00
|
|
|
"oracledb": "5.3.0"
|
2021-11-22 15:49:39 +01:00
|
|
|
},
|
2021-05-20 15:53:22 +02:00
|
|
|
"gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc"
|
2022-10-31 15:01:44 +01:00
|
|
|
}
|