budibase/package.json

128 lines
7.5 KiB
JSON
Raw Normal View History

2019-03-19 22:45:21 +01:00
{
2019-06-07 15:18:10 +02:00
"name": "root",
"private": true,
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/preset-env": "^7.22.5",
2023-05-25 11:49:38 +02:00
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
2023-12-22 14:55:22 +01:00
"@types/node": "20.10.0",
"@types/proper-lockfile": "^4.1.4",
2023-10-27 12:14:21 +02:00
"@typescript-eslint/parser": "6.9.0",
2023-07-26 11:15:37 +02:00
"esbuild": "^0.18.17",
"esbuild-node-externals": "^1.8.0",
2023-10-27 12:14:21 +02:00
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
2024-03-19 10:45:38 +01:00
"eslint-plugin-jest": "^27.9.0",
2023-11-17 14:39:52 +01:00
"eslint-plugin-local-rules": "^2.0.0",
"eslint-plugin-svelte": "^2.34.0",
"husky": "^8.0.3",
"kill-port": "^1.6.1",
"lerna": "7.4.2",
"madge": "^6.0.0",
2023-07-10 11:41:46 +02:00
"nx-cloud": "16.0.5",
2023-06-28 15:39:17 +02:00
"prettier": "2.8.8",
"prettier-plugin-svelte": "^2.3.0",
"proper-lockfile": "^4.1.2",
"svelte": "^4.2.10",
"svelte-eslint-parser": "^0.33.1",
2024-06-24 17:41:28 +02:00
"typescript": "5.5.2",
2024-03-20 12:46:39 +01:00
"typescript-eslint": "^7.3.1",
2023-12-05 11:02:44 +01:00
"yargs": "^17.7.2"
2019-09-23 02:04:30 +02:00
},
2020-01-22 14:50:39 +01:00
"scripts": {
"get-past-client-version": "node scripts/getPastClientVersion.js",
"setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev",
"build": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream",
2024-05-28 12:21:28 +02:00
"build:apps": "yarn build --scope @budibase/server --scope @budibase/worker",
"build:cli": "yarn build --scope @budibase/cli",
2024-06-06 15:39:05 +02:00
"build:oss": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream --ignore @budibase/account-portal-server --ignore @budibase/account-portal-ui",
"build:account-portal": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream --scope @budibase/account-portal-server --scope @budibase/account-portal-ui",
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
"check:types": "lerna run --concurrency 2 check:types --ignore @budibase/account-portal-server",
2023-04-04 10:05:38 +02:00
"build:sdk": "lerna run --stream build:sdk",
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
2023-09-05 17:46:45 +02:00
"restore": "yarn run clean && yarn && yarn run build",
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
"nuke:packages": "yarn run restore",
2023-07-10 12:18:07 +02:00
"nuke:docker": "lerna run --stream dev:stack:nuke",
"clean": "lerna clean -y && echo Cleaning top level node modules 🧹 && rm -rf ./node_modules && echo Done! 🚀",
2022-02-04 16:56:48 +01:00
"kill-builder": "kill-port 3000",
"kill-server": "kill-port 4001 4002",
2023-10-17 10:57:48 +02:00
"kill-accountportal": "kill-port 3001 4003",
"kill-all": "yarn run kill-builder && yarn run kill-server && yarn kill-accountportal",
"dev": "yarn run kill-all && lerna run --parallel prebuild && lerna run --stream dev --ignore=@budibase/account-portal-ui --ignore @budibase/account-portal-server",
"dev:noserver": "yarn run kill-builder && lerna run --stream dev:stack:up --ignore @budibase/account-portal-server && lerna run --stream dev --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker --ignore=@budibase/account-portal-ui --ignore @budibase/account-portal-server",
"dev:server": "yarn run kill-server && lerna run --stream dev --scope @budibase/worker --scope @budibase/server",
2023-10-17 10:57:48 +02:00
"dev:accountportal": "yarn kill-accountportal && lerna run dev --stream --scope @budibase/account-portal-ui --scope @budibase/account-portal-server",
"dev:camunda": "./scripts/deploy-camunda.sh",
2023-11-07 19:19:31 +01:00
"dev:all": "yarn run kill-all && lerna run --stream dev",
2023-07-10 12:18:07 +02:00
"dev:built": "yarn run kill-all && cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream dev:built",
2024-04-18 10:53:23 +02:00
"dev:docker": "./scripts/devDocker.sh",
"test": "lerna run --concurrency 1 --stream test --stream",
"test:containers:kill": "./scripts/killTestcontainers.sh",
2024-04-02 18:24:30 +02:00
"lint:eslint": "eslint packages --max-warnings=0",
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\"",
"lint": "yarn run lint:eslint && yarn run lint:prettier",
2024-04-02 18:24:30 +02:00
"lint:fix:eslint": "eslint --fix --max-warnings=0 packages",
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\"",
"lint:fix": "yarn run lint:fix:eslint && yarn run lint:fix:prettier",
2023-04-04 10:05:38 +02:00
"build:specs": "lerna run --stream specs",
2021-10-28 13:29:00 +02:00
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
"build:docker:airgap:single": "SINGLE_IMAGE=1 node hosting/scripts/airgapped/airgappedDockerBuild",
2021-12-02 14:38:57 +01:00
"build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -",
"build:docker:single:multiarch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/single/Dockerfile -t budibase:latest .",
2023-10-02 17:50:02 +02:00
"build:docker:single": "./scripts/build-single-image.sh",
"build:docker:single:sqs": "./scripts/build-single-image-sqs.sh",
"build:docker:dependencies": "docker build -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest ./hosting",
"publish:docker:couch": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/couchdb/Dockerfile -t budibase/couchdb:latest -t budibase/couchdb:v3.3.3 --push ./hosting/couchdb",
"publish:docker:couch-sqs": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/couchdb/Dockerfile.v2 -t budibase/couchdb:v3.3.3-sqs --push ./hosting/couchdb",
2023-01-23 11:45:59 +01:00
"publish:docker:dependencies": "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/dependencies/Dockerfile -t budibase/dependencies:latest -t budibase/dependencies:v3.2.1 --push ./hosting",
"release:helm": "node scripts/releaseHelmChart",
2023-04-04 10:05:38 +02:00
"env:multi:enable": "lerna run --stream env:multi:enable",
"env:multi:disable": "lerna run --stream env:multi:disable",
"env:selfhost:enable": "lerna run --stream env:selfhost:enable",
"env:selfhost:disable": "lerna run --stream env:selfhost:disable",
"env:localdomain:enable": "./scripts/localdomain.sh enable",
"env:localdomain:disable": "./scripts/localdomain.sh disable",
2023-04-04 10:05:38 +02:00
"env:account:enable": "lerna run --stream env:account:enable",
"env:account:disable": "lerna run --stream env:account:disable",
"mode:self": "yarn env:selfhost:enable && yarn env:multi:disable && yarn env:account:disable",
"mode:cloud": "yarn env:selfhost:disable && yarn env:multi:enable && yarn env:account:disable",
"mode:account": "yarn mode:cloud && yarn env:account:enable",
"security:audit": "node scripts/audit.js",
2022-04-21 22:55:16 +02:00
"postinstall": "husky install",
"submodules:load": "git submodule init && git submodule update && yarn",
2023-11-27 12:25:48 +01:00
"submodules:unload": "git submodule deinit --all && yarn",
2023-12-05 11:02:44 +01:00
"add-app-migration": "node scripts/add-app-migration.js --title"
2023-03-03 10:17:01 +01:00
},
2023-04-12 22:46:08 +02:00
"workspaces": {
"packages": [
2023-10-16 17:45:18 +02:00
"packages/*",
"!packages/account-portal",
2023-10-17 16:19:28 +02:00
"packages/account-portal/packages/*"
2023-04-12 22:46:08 +02:00
]
2023-05-19 14:45:05 +02:00
},
2023-05-29 12:46:19 +02:00
"resolutions": {
"@budibase/backend-core": "0.0.0",
"@budibase/shared-core": "0.0.0",
"@budibase/string-templates": "0.0.0",
2023-12-17 15:49:11 +01:00
"@budibase/types": "0.0.0",
2024-04-25 11:22:52 +02:00
"@budibase/pro": "npm:@budibase/pro@latest",
2024-01-02 19:17:41 +01:00
"tough-cookie": "4.1.3",
"node-fetch": "2.6.7",
"semver": "7.5.3",
"http-cache-semantics": "4.1.1",
"msgpackr": "1.10.1",
"axios": "1.6.3",
"xml2js": "0.6.2",
"unset-value": "2.0.1",
"passport": "0.6.0"
2023-05-29 12:46:19 +02:00
},
2023-07-26 17:13:43 +02:00
"engines": {
2024-01-03 14:19:15 +01:00
"node": ">=20.0.0 <21.0.0"
2023-07-26 17:13:43 +02:00
},
2023-05-19 14:45:05 +02:00
"dependencies": {}
}