216 lines
7.4 KiB
JSON
216 lines
7.4 KiB
JSON
{
|
|
"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 --target es2020",
|
|
"check:dependencies": "node ../../scripts/depcheck.js",
|
|
"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",
|
|
"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-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",
|
|
"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",
|
|
"@azure/msal-node": "^2.5.1",
|
|
"@budibase/backend-core": "0.0.0",
|
|
"@budibase/client": "0.0.0",
|
|
"@budibase/frontend-core": "0.0.0",
|
|
"@budibase/nano": "10.1.5",
|
|
"@budibase/pro": "0.0.0",
|
|
"@budibase/shared-core": "0.0.0",
|
|
"@budibase/string-templates": "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": "7.8.0",
|
|
"@koa/router": "13.1.0",
|
|
"@socket.io/redis-adapter": "^8.2.1",
|
|
"@types/xml2js": "^0.4.14",
|
|
"airtable": "0.12.2",
|
|
"arangojs": "7.2.0",
|
|
"archiver": "7.0.1",
|
|
"aws-sdk": "2.1692.0",
|
|
"bcrypt": "5.1.0",
|
|
"bcryptjs": "2.4.3",
|
|
"bson": "^6.9.0",
|
|
"buffer": "6.0.3",
|
|
"bull": "4.10.1",
|
|
"chokidar": "3.5.3",
|
|
"content-disposition": "^0.5.4",
|
|
"cookies": "0.8.0",
|
|
"csvtojson": "2.0.10",
|
|
"curlconverter": "3.21.0",
|
|
"dd-trace": "5.23.0",
|
|
"dayjs": "^1.10.8",
|
|
"dotenv": "8.2.0",
|
|
"form-data": "4.0.0",
|
|
"global-agent": "3.0.0",
|
|
"google-auth-library": "^8.0.1",
|
|
"google-spreadsheet": "npm:@budibase/google-spreadsheet@4.1.5",
|
|
"ioredis": "5.3.2",
|
|
"isolated-vm": "^4.7.2",
|
|
"jimp": "1.1.4",
|
|
"joi": "17.6.0",
|
|
"js-yaml": "4.1.0",
|
|
"jsonschema": "1.4.0",
|
|
"jsonwebtoken": "9.0.2",
|
|
"knex": "2.4.2",
|
|
"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.7.0",
|
|
"mssql": "11.0.1",
|
|
"mysql2": "3.9.8",
|
|
"node-fetch": "2.6.7",
|
|
"object-sizeof": "2.6.1",
|
|
"openai": "4.59.0",
|
|
"openapi-types": "9.3.1",
|
|
"oracledb": "6.5.1",
|
|
"pg": "8.10.0",
|
|
"pouchdb": "9.0.0",
|
|
"pouchdb-all-dbs": "1.1.1",
|
|
"pouchdb-find": "9.0.0",
|
|
"redis": "4",
|
|
"semver": "^7.5.4",
|
|
"serialize-error": "^7.0.1",
|
|
"server-destroy": "1.0.1",
|
|
"snowflake-sdk": "^1.15.0",
|
|
"socket.io": "4.8.1",
|
|
"svelte": "^4.2.10",
|
|
"tar": "6.2.1",
|
|
"tmp": "0.2.3",
|
|
"to-json-schema": "0.2.5",
|
|
"uuid": "^8.3.2",
|
|
"validate.js": "0.13.1",
|
|
"worker-farm": "1.7.0",
|
|
"xml2js": "0.6.2",
|
|
"zod-validation-error": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.5",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@jest/types": "^29.6.3",
|
|
"@swc/core": "1.3.71",
|
|
"@swc/jest": "0.2.27",
|
|
"@types/archiver": "6.0.2",
|
|
"@types/global-agent": "2.1.1",
|
|
"@types/jest": "29.5.5",
|
|
"@types/koa": "2.13.4",
|
|
"@types/koa-send": "^4.1.6",
|
|
"@types/koa__router": "12.0.4",
|
|
"@types/lodash": "4.14.200",
|
|
"@types/mssql": "9.1.5",
|
|
"@types/node": "^22.9.0",
|
|
"@types/node-fetch": "2.6.4",
|
|
"@types/oracledb": "6.5.1",
|
|
"@types/pg": "8.6.6",
|
|
"@types/pouchdb": "6.4.2",
|
|
"@types/server-destroy": "1.0.1",
|
|
"@types/supertest": "2.0.14",
|
|
"@types/tar": "6.1.5",
|
|
"@types/tmp": "0.2.6",
|
|
"@types/uuid": "8.3.4",
|
|
"chance": "^1.1.12",
|
|
"copyfiles": "2.4.1",
|
|
"docker-compose": "0.23.17",
|
|
"ioredis-mock": "8.9.0",
|
|
"jest": "29.7.0",
|
|
"jest-extended": "^4.0.2",
|
|
"jest-openapi": "0.14.2",
|
|
"nock": "13.5.4",
|
|
"nodemon": "2.0.15",
|
|
"openapi-typescript": "5.2.0",
|
|
"rimraf": "3.0.2",
|
|
"supertest": "6.3.3",
|
|
"swagger-jsdoc": "6.1.0",
|
|
"testcontainers": "10.7.2",
|
|
"timekeeper": "2.2.0",
|
|
"ts-node": "10.8.1",
|
|
"tsconfig-paths": "4.0.0",
|
|
"typescript": "5.5.2",
|
|
"update-dotenv": "1.1.1",
|
|
"yargs": "13.2.4",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"dev": {
|
|
"dependsOn": [
|
|
{
|
|
"comment": "Required for pro usage when submodule not loaded",
|
|
"projects": [
|
|
"@budibase/backend-core"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"build": {
|
|
"inputs": [
|
|
"{projectRoot}/builder",
|
|
"{projectRoot}/client"
|
|
],
|
|
"outputs": [
|
|
"{projectRoot}/builder",
|
|
"{projectRoot}/client",
|
|
"{projectRoot}/dist"
|
|
],
|
|
"dependsOn": [
|
|
{
|
|
"projects": [
|
|
"@budibase/client",
|
|
"@budibase/builder"
|
|
],
|
|
"target": "build"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|