budibase/package.json

101 lines
5.8 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-09-25 09:42:48 +02:00
"@typescript-eslint/parser": "6.7.2",
2023-07-26 11:15:37 +02:00
"esbuild": "^0.18.17",
"esbuild-node-externals": "^1.8.0",
2023-07-05 19:00:50 +02:00
"eslint": "^8.44.0",
"eslint-plugin-import": "^2.29.0",
2023-11-17 14:39:52 +01:00
"eslint-plugin-local-rules": "^2.0.0",
"eslint-plugin-svelte": "^2.32.2",
"husky": "^8.0.3",
"kill-port": "^1.6.1",
2023-07-10 12:18:07 +02:00
"lerna": "7.1.1",
"madge": "^6.0.0",
2023-07-10 12:21:05 +02:00
"nx": "16.4.3",
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",
"svelte": "3.49.0",
"svelte-eslint-parser": "^0.32.0",
2023-12-05 11:02:44 +01:00
"typescript": "5.2.2",
"yargs": "^17.7.2"
2019-09-23 02:04:30 +02:00
},
2020-01-22 14:50:39 +01:00
"scripts": {
2023-04-21 19:22:19 +02:00
"preinstall": "node scripts/syncProPackage.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:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
2023-08-01 14:25:52 +02:00
"check:types": "lerna run check:types",
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",
2023-09-05 12:07:18 +02:00
"clean": "lerna clean -y",
2022-02-04 16:56:48 +01:00
"kill-builder": "kill-port 3000",
"kill-server": "kill-port 4001 4002",
"kill-all": "yarn run kill-builder && yarn run kill-server",
"dev": "yarn run kill-all && lerna run --parallel prebuild && lerna run --stream dev:builder",
2023-08-01 15:45:56 +02:00
"dev:noserver": "yarn run kill-builder && lerna run --stream dev:stack:up && lerna run --stream dev:builder --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker",
"dev:server": "yarn run kill-server && lerna run --stream dev:builder --scope @budibase/worker --scope @budibase/server",
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",
2023-10-19 11:08:56 +02:00
"dev:docker": "yarn build --scope @budibase/server --scope @budibase/worker && docker-compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0",
2023-04-04 10:05:38 +02:00
"test": "lerna run --stream test --stream",
2023-07-05 19:00:50 +02:00
"lint:eslint": "eslint packages qa-core --max-warnings=0",
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"",
"lint": "yarn run lint:eslint && yarn run lint:prettier",
2023-07-05 19:00:50 +02:00
"lint:fix:eslint": "eslint --fix --max-warnings=0 packages qa-core",
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --write \"qa-core/**/*.{js,ts,svelte}\"",
"lint:fix": "yarn run lint:fix:prettier && yarn run lint:fix:eslint",
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: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:v3.2.1-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": [
"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",
"@budibase/types": "0.0.0"
},
2023-07-26 17:13:43 +02:00
"engines": {
"node": ">=18.0.0 <19.0.0"
2023-07-26 17:13:43 +02:00
},
2023-05-19 14:45:05 +02:00
"dependencies": {}
}