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