126 lines
7.3 KiB
JSON
126 lines
7.3 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.5",
|
|
"@babel/eslint-parser": "^7.22.5",
|
|
"@babel/preset-env": "^7.22.5",
|
|
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
|
|
"@types/node": "20.10.0",
|
|
"@types/proper-lockfile": "^4.1.4",
|
|
"@typescript-eslint/parser": "6.9.0",
|
|
"esbuild": "^0.18.17",
|
|
"esbuild-node-externals": "^1.8.0",
|
|
"eslint": "^8.52.0",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-local-rules": "^2.0.0",
|
|
"eslint-plugin-svelte": "^2.34.0",
|
|
"husky": "^8.0.3",
|
|
"kill-port": "^1.6.1",
|
|
"lerna": "7.1.1",
|
|
"madge": "^6.0.0",
|
|
"nx": "16.4.3",
|
|
"nx-cloud": "16.0.5",
|
|
"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",
|
|
"typescript": "5.2.2",
|
|
"typescript-eslint": "^7.3.1",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"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",
|
|
"build:oss": "NODE_OPTIONS=--max-old-space-size=1500 lerna run build --stream --ignore @budibase/account-portal --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 --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 check:types",
|
|
"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",
|
|
"restore": "yarn run clean && yarn && yarn run build",
|
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
|
"nuke:packages": "yarn run restore",
|
|
"nuke:docker": "lerna run --stream dev:stack:nuke",
|
|
"clean": "lerna clean -y && echo Cleaning top level node modules 🧹 && rm -rf ./node_modules && echo Done! 🚀",
|
|
"kill-builder": "kill-port 3000",
|
|
"kill-server": "kill-port 4001 4002",
|
|
"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",
|
|
"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",
|
|
"dev:all": "yarn run kill-all && lerna run --stream dev",
|
|
"dev:built": "yarn run kill-all && cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream dev:built",
|
|
"dev:docker": "./scripts/devDocker.sh",
|
|
"test": "lerna run --concurrency 1 --stream test --stream",
|
|
"test:containers:kill": "./scripts/killTestcontainers.sh",
|
|
"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",
|
|
"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",
|
|
"build:specs": "lerna run --stream specs",
|
|
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
|
|
"build:docker:airgap:single": "SINGLE_IMAGE=1 node hosting/scripts/airgapped/airgappedDockerBuild",
|
|
"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 .",
|
|
"build:docker:single": "./scripts/build-single-image.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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"postinstall": "husky install",
|
|
"submodules:load": "git submodule init && git submodule update && yarn",
|
|
"submodules:unload": "git submodule deinit --all && yarn",
|
|
"add-app-migration": "node scripts/add-app-migration.js --title"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"!packages/account-portal",
|
|
"packages/account-portal/packages/*"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"@budibase/backend-core": "0.0.0",
|
|
"@budibase/shared-core": "0.0.0",
|
|
"@budibase/string-templates": "0.0.0",
|
|
"@budibase/types": "0.0.0",
|
|
"@budibase/pro": "npm:@budibase/pro@latest",
|
|
"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"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0 <21.0.0"
|
|
},
|
|
"dependencies": {}
|
|
}
|