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",
|
2023-05-29 10:54:10 +02:00
|
|
|
"version": "0.0.0",
|
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/",
|
2023-05-02 16:06:05 +02:00
|
|
|
"build": "node ./scripts/build.js",
|
2023-10-02 16:29:22 +02:00
|
|
|
"postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client && copyfiles -f ../../yarn.lock ./dist/",
|
2024-06-24 17:41:28 +02:00
|
|
|
"check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020",
|
2024-03-01 16:25:40 +01:00
|
|
|
"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",
|
2024-02-13 16:57:33 +01:00
|
|
|
"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",
|
2024-07-23 20:02:39 +02:00
|
|
|
"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",
|
2022-06-09 14:15:20 +02:00
|
|
|
"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",
|
2024-02-02 12:02:09 +01:00
|
|
|
"jest": "NODE_OPTIONS=\"--no-node-snapshot $NODE_OPTIONS\" jest",
|
2023-02-22 14:04:16 +01:00
|
|
|
"test": "bash scripts/test.sh",
|
2023-03-21 20:52:06 +01:00
|
|
|
"test:memory": "jest --maxWorkers=2 --logHeapUsage --forceExit",
|
2020-06-11 15:35:45 +02:00
|
|
|
"test:watch": "jest --watch",
|
2023-12-19 14:50:35 +01: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",
|
2023-11-07 19:15:40 +01:00
|
|
|
"dev": "yarn run dev:stack:up && nodemon",
|
2023-04-05 16:33:56 +02:00
|
|
|
"dev:built": "yarn run dev:stack:up && yarn run run:docker",
|
2023-02-28 19:10:56 +01:00
|
|
|
"specs": "ts-node specs/generate.ts && 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
|
|
|
},
|
|
|
|
"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",
|
2023-05-29 10:54:10 +02:00
|
|
|
"@budibase/backend-core": "0.0.0",
|
|
|
|
"@budibase/client": "0.0.0",
|
2024-04-02 21:37:28 +02:00
|
|
|
"@budibase/frontend-core": "0.0.0",
|
2023-05-29 10:54:10 +02:00
|
|
|
"@budibase/pro": "0.0.0",
|
|
|
|
"@budibase/shared-core": "0.0.0",
|
|
|
|
"@budibase/string-templates": "0.0.0",
|
|
|
|
"@budibase/types": "0.0.0",
|
2024-01-02 16:18:24 +01:00
|
|
|
"@bull-board/api": "5.10.2",
|
|
|
|
"@bull-board/koa": "5.10.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"@elastic/elasticsearch": "7.10.0",
|
2024-07-02 15:21:11 +02:00
|
|
|
"@google-cloud/firestore": "7.8.0",
|
2022-10-07 22:08:20 +02:00
|
|
|
"@koa/router": "8.0.8",
|
2023-05-25 09:48:56 +02:00
|
|
|
"@socket.io/redis-adapter": "^8.2.1",
|
2024-04-22 17:30:57 +02:00
|
|
|
"@types/xml2js": "^0.4.14",
|
2024-09-12 18:43:13 +02:00
|
|
|
"airtable": "0.12.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"arangojs": "7.2.0",
|
2024-04-10 15:15:54 +02:00
|
|
|
"archiver": "7.0.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"aws-sdk": "2.1030.0",
|
2023-06-16 18:55:32 +02:00
|
|
|
"bcrypt": "5.1.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"bcryptjs": "2.4.3",
|
2024-07-23 20:02:39 +02:00
|
|
|
"buffer": "6.0.3",
|
2022-10-21 19:25:35 +02:00
|
|
|
"bull": "4.10.1",
|
2022-09-12 15:05:36 +02:00
|
|
|
"chokidar": "3.5.3",
|
2024-04-22 17:30:57 +02:00
|
|
|
"content-disposition": "^0.5.4",
|
2023-03-05 19:57:05 +01:00
|
|
|
"cookies": "0.8.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"csvtojson": "2.0.10",
|
2022-06-09 13:33:10 +02:00
|
|
|
"curlconverter": "3.21.0",
|
2024-02-09 13:01:37 +01:00
|
|
|
"dd-trace": "5.2.0",
|
2021-02-05 10:39:42 +01:00
|
|
|
"dotenv": "8.2.0",
|
2022-06-09 13:33:10 +02:00
|
|
|
"form-data": "4.0.0",
|
|
|
|
"global-agent": "3.0.0",
|
2024-09-19 17:48:50 +02:00
|
|
|
"google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5",
|
2023-06-01 12:10:39 +02:00
|
|
|
"ioredis": "5.3.2",
|
2024-02-02 12:02:09 +01:00
|
|
|
"isolated-vm": "^4.7.2",
|
2024-07-04 10:56:55 +02:00
|
|
|
"jimp": "0.22.12",
|
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",
|
2023-07-07 14:47:42 +02:00
|
|
|
"knex": "2.4.2",
|
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",
|
2024-01-09 09:33:05 +01:00
|
|
|
"koa-send": "5.0.1",
|
2023-02-21 20:14:57 +01:00
|
|
|
"koa-useragent": "^4.1.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",
|
2024-07-03 15:04:47 +02:00
|
|
|
"mongodb": "6.7.0",
|
2024-07-04 11:43:54 +02:00
|
|
|
"mssql": "10.0.1",
|
2024-05-30 21:53:00 +02:00
|
|
|
"mysql2": "3.9.8",
|
2022-01-24 16:43:06 +01:00
|
|
|
"node-fetch": "2.6.7",
|
2023-05-25 13:09:12 +02:00
|
|
|
"object-sizeof": "2.6.1",
|
2024-09-17 17:08:59 +02:00
|
|
|
"openai": "4.59.0",
|
2023-10-05 13:38:46 +02:00
|
|
|
"openapi-types": "9.3.1",
|
2024-07-22 16:59:40 +02:00
|
|
|
"oracledb": "6.5.1",
|
2023-05-10 18:22:39 +02:00
|
|
|
"pg": "8.10.0",
|
2022-04-20 18:33:42 +02:00
|
|
|
"pouchdb": "7.3.0",
|
2023-10-03 22:39:00 +02:00
|
|
|
"pouchdb-all-dbs": "1.1.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"pouchdb-find": "7.2.2",
|
2022-03-02 13:27:09 +01:00
|
|
|
"redis": "4",
|
2024-02-12 16:20:01 +01:00
|
|
|
"serialize-error": "^7.0.1",
|
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",
|
2024-07-02 15:26:44 +02:00
|
|
|
"socket.io": "4.7.5",
|
2024-06-17 11:23:30 +02:00
|
|
|
"tar": "6.2.1",
|
2024-07-22 16:59:40 +02:00
|
|
|
"tmp": "0.2.3",
|
2021-02-05 10:39:42 +01:00
|
|
|
"to-json-schema": "0.2.5",
|
2024-02-02 12:02:09 +01:00
|
|
|
"uuid": "^8.3.2",
|
2021-02-05 10:39:42 +01:00
|
|
|
"validate.js": "0.13.1",
|
2022-06-09 13:33:10 +02:00
|
|
|
"worker-farm": "1.7.0",
|
2024-10-04 11:45:18 +02:00
|
|
|
"xml2js": "0.5.0",
|
|
|
|
"zod-validation-error": "^3.4.0"
|
2019-06-14 11:05:46 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-09 14:33:31 +02:00
|
|
|
"@babel/preset-env": "7.16.11",
|
2023-07-25 21:20:18 +02:00
|
|
|
"@swc/core": "1.3.71",
|
2023-07-25 12:31:17 +02:00
|
|
|
"@swc/jest": "0.2.27",
|
2024-04-15 14:46:31 +02:00
|
|
|
"@types/archiver": "6.0.2",
|
2022-06-13 12:34:28 +02:00
|
|
|
"@types/global-agent": "2.1.1",
|
2023-10-10 19:12:28 +02:00
|
|
|
"@types/jest": "29.5.5",
|
2022-06-09 13:33:10 +02:00
|
|
|
"@types/koa": "2.13.4",
|
2024-01-09 09:44:49 +01:00
|
|
|
"@types/koa-send": "^4.1.6",
|
2024-01-26 16:59:06 +01:00
|
|
|
"@types/koa__router": "8.0.8",
|
2023-10-19 11:00:53 +02:00
|
|
|
"@types/lodash": "4.14.200",
|
2023-12-22 14:59:25 +01:00
|
|
|
"@types/mssql": "9.1.4",
|
2023-09-07 11:18:29 +02:00
|
|
|
"@types/node-fetch": "2.6.4",
|
2024-07-22 16:59:40 +02:00
|
|
|
"@types/oracledb": "6.5.1",
|
2023-05-10 18:22:39 +02:00
|
|
|
"@types/pg": "8.6.6",
|
2022-12-15 12:35:22 +01:00
|
|
|
"@types/server-destroy": "1.0.1",
|
2023-10-17 13:55:12 +02:00
|
|
|
"@types/supertest": "2.0.14",
|
2023-06-12 12:12:22 +02:00
|
|
|
"@types/tar": "6.1.5",
|
2024-06-03 12:46:20 +02:00
|
|
|
"@types/tmp": "0.2.6",
|
2024-07-22 16:59:40 +02:00
|
|
|
"@types/uuid": "8.3.4",
|
2022-06-09 13:33:10 +02:00
|
|
|
"copyfiles": "2.4.1",
|
|
|
|
"docker-compose": "0.23.17",
|
2023-11-06 14:24:33 +01:00
|
|
|
"jest": "29.7.0",
|
2024-08-09 14:36:22 +02:00
|
|
|
"jest-extended": "^4.0.2",
|
2022-06-09 13:33:10 +02:00
|
|
|
"jest-openapi": "0.14.2",
|
2024-04-04 16:27:50 +02:00
|
|
|
"nock": "13.5.4",
|
2022-06-09 13:33:10 +02:00
|
|
|
"nodemon": "2.0.15",
|
|
|
|
"openapi-typescript": "5.2.0",
|
|
|
|
"rimraf": "3.0.2",
|
2023-10-17 13:55:12 +02:00
|
|
|
"supertest": "6.3.3",
|
2022-06-09 13:33:10 +02:00
|
|
|
"swagger-jsdoc": "6.1.0",
|
2024-03-06 00:33:04 +01:00
|
|
|
"testcontainers": "10.7.2",
|
2022-06-09 13:33:10 +02:00
|
|
|
"timekeeper": "2.2.0",
|
2022-11-14 14:29:46 +01:00
|
|
|
"ts-node": "10.8.1",
|
2022-06-10 23:57:12 +02:00
|
|
|
"tsconfig-paths": "4.0.0",
|
2024-06-24 17:41:28 +02:00
|
|
|
"typescript": "5.5.2",
|
2023-10-03 23:45:39 +02:00
|
|
|
"update-dotenv": "1.1.1",
|
2024-10-04 11:45:18 +02:00
|
|
|
"yargs": "13.2.4",
|
|
|
|
"zod": "^3.23.8"
|
2019-06-19 23:05:53 +02:00
|
|
|
},
|
2023-08-10 15:03:37 +02:00
|
|
|
"nx": {
|
|
|
|
"targets": {
|
2023-11-07 19:15:40 +01:00
|
|
|
"dev": {
|
2023-08-10 15:03:37 +02:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"comment": "Required for pro usage when submodule not loaded",
|
|
|
|
"projects": [
|
|
|
|
"@budibase/backend-core"
|
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
2023-10-02 16:29:04 +02:00
|
|
|
},
|
|
|
|
"build": {
|
2024-03-18 13:47:54 +01:00
|
|
|
"inputs": [
|
|
|
|
"{projectRoot}/builder",
|
|
|
|
"{projectRoot}/client"
|
|
|
|
],
|
2023-10-06 14:32:17 +02:00
|
|
|
"outputs": [
|
|
|
|
"{projectRoot}/builder",
|
|
|
|
"{projectRoot}/client",
|
|
|
|
"{projectRoot}/dist"
|
|
|
|
],
|
2023-10-02 16:29:04 +02:00
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"projects": [
|
2023-10-06 14:32:17 +02:00
|
|
|
"@budibase/client",
|
|
|
|
"@budibase/builder"
|
2023-10-02 16:29:04 +02:00
|
|
|
],
|
|
|
|
"target": "build"
|
|
|
|
}
|
|
|
|
]
|
2023-08-10 15:03:37 +02:00
|
|
|
}
|
|
|
|
}
|
2023-08-02 12:04:54 +02:00
|
|
|
}
|
2023-02-06 10:26:13 +01:00
|
|
|
}
|