2019-03-20 10:45:21 +13:00
{
2019-06-08 01:18:10 +12:00
"name" : "root" ,
"private" : true ,
"devDependencies" : {
2020-04-17 21:26:48 +12:00
"@rollup/plugin-json" : "^4.0.2" ,
2022-11-30 00:26:23 +13:00
"@typescript-eslint/parser" : "5.45.0" ,
2020-02-26 04:21:23 +13:00
"babel-eslint" : "^10.0.3" ,
2021-06-15 23:42:50 +12:00
"eslint" : "^7.28.0" ,
"eslint-plugin-cypress" : "^2.11.3" ,
"eslint-plugin-svelte3" : "^3.2.0" ,
2021-08-20 02:55:54 +12:00
"husky" : "^7.0.1" ,
2021-12-09 05:27:33 +13:00
"js-yaml" : "^4.1.0" ,
2020-11-06 11:09:49 +13:00
"kill-port" : "^1.6.1" ,
2020-02-22 07:06:23 +13:00
"lerna" : "3.14.1" ,
2022-09-20 21:30:30 +12:00
"madge" : "^5.0.1" ,
2021-06-15 23:42:50 +12:00
"prettier" : "^2.3.1" ,
"prettier-plugin-svelte" : "^2.3.0" ,
2020-10-13 08:39:29 +13:00
"rimraf" : "^3.0.2" ,
2020-03-05 05:47:47 +13:00
"rollup-plugin-replace" : "^2.2.0" ,
2022-03-26 00:17:58 +13:00
"svelte" : "^3.38.2" ,
2022-11-15 02:29:46 +13:00
"typescript" : "4.7.3"
2019-09-23 12:04:30 +12:00
} ,
2020-01-23 02:50:39 +13:00
"scripts" : {
2021-08-12 20:41:19 +12:00
"setup" : "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev" ,
2022-06-10 04:00:53 +12:00
"bootstrap" : "lerna bootstrap && lerna link && ./scripts/link-dependencies.sh" ,
2020-01-23 02:50:39 +13:00
"build" : "lerna run build" ,
2022-06-11 09:57:12 +12:00
"build:dev" : "lerna run prebuild && tsc --build --watch --preserveWatchOutput" ,
2022-12-16 00:35:22 +13:00
"build:backend" : "lerna run build --ignore @budibase/client --ignore @budibase/bbui --ignore @budibase/builder --ignore @budibase/cli" ,
2022-09-21 20:08:52 +12:00
"build:sdk" : "lerna run build:sdk" ,
2022-09-20 21:30:30 +12:00
"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" ,
2022-07-12 03:05:41 +12:00
"release" : "lerna publish ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish && yarn release:pro" ,
2022-07-30 02:59:21 +12:00
"release:develop" : "lerna publish prerelease --yes --force-publish --dist-tag develop --exact && yarn release:pro:develop" ,
2022-04-22 22:01:27 +12:00
"release:pro" : "bash scripts/pro/release.sh" ,
"release:pro:develop" : "bash scripts/pro/release.sh develop" ,
2021-04-08 04:38:49 +12:00
"restore" : "yarn run clean && yarn run bootstrap && yarn run build" ,
"nuke" : "yarn run nuke:packages && yarn run nuke:docker" ,
"nuke:packages" : "yarn run restore" ,
2021-04-08 04:13:19 +12:00
"nuke:docker" : "lerna run --parallel dev:stack:nuke" ,
2020-01-28 22:11:08 +13:00
"clean" : "lerna clean" ,
2022-02-05 04:56:48 +13: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 link && lerna run --parallel dev:builder --concurrency 1" ,
2022-05-05 19:32:14 +12:00
"dev:noserver" : "yarn run kill-builder && lerna link && lerna run dev:stack:up && lerna run --parallel dev:builder --concurrency 1 --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker" ,
"dev:server" : "yarn run kill-server && lerna run --parallel dev:builder --concurrency 1 --scope @budibase/backend-core --scope @budibase/worker --scope @budibase/server" ,
2022-07-08 22:36:31 +12:00
"test" : "lerna run test && yarn test:pro" ,
"test:pro" : "bash scripts/pro/test.sh" ,
2023-01-07 05:46:50 +13:00
"lint:eslint" : "eslint packages && eslint qa-core" ,
2023-01-07 05:52:18 +13:00
"lint:prettier" : "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"" ,
2021-06-15 23:42:50 +12:00
"lint" : "yarn run lint:eslint && yarn run lint:prettier" ,
2022-09-15 11:58:08 +12:00
"lint:fix:eslint" : "eslint --fix 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}\"" ,
2022-03-26 00:17:58 +13:00
"lint:fix" : "yarn run lint:fix:prettier && yarn run lint:fix:eslint" ,
2022-02-23 04:23:54 +13:00
"test:e2e" : "lerna run cy:test --stream" ,
"test:e2e:ci" : "lerna run cy:ci --stream" ,
2022-05-04 02:52:46 +12:00
"test:e2e:ci:record" : "lerna run cy:ci:record --stream" ,
2022-05-21 03:47:09 +12:00
"test:e2e:ci:notify" : "lerna run cy:ci:notify" ,
2022-03-02 07:42:52 +13:00
"build:specs" : "lerna run specs" ,
2022-12-21 05:28:13 +13:00
"build:docker" : "lerna run build:docker && npm run build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh $BUDIBASE_RELEASE_VERSION && cd -" ,
2022-07-14 03:39:38 +12:00
"build:docker:pre" : "lerna run build && lerna run predocker" ,
2022-02-01 02:52:44 +13:00
"build:docker:proxy" : "docker build hosting/proxy -t proxy-service" ,
2021-11-23 06:25:57 +13:00
"build:docker:selfhost" : "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -" ,
2022-12-21 05:28:13 +13:00
"build:docker:develop" : "node scripts/pinVersions && lerna run build:docker && npm run build:docker:proxy && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -" ,
2021-10-29 00:29:00 +13:00
"build:docker:airgap" : "node hosting/scripts/airgapped/airgappedDockerBuild" ,
2021-12-03 02:38:57 +13:00
"build:digitalocean" : "cd hosting/digitalocean && ./build.sh && cd -" ,
2022-06-22 06:52:44 +12:00
"build:docker:single:multiarch" : "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/single/Dockerfile -t budibase:latest ." ,
2022-04-02 00:50:26 +13:00
"build:docker:single:image" : "docker build -f hosting/single/Dockerfile -t budibase:latest ." ,
2022-07-14 03:52:39 +12:00
"build:docker:single" : "npm run build:docker:pre && npm run build:docker:single:image" ,
2023-01-23 23:45:59 +13:00
"build:docker:dependencies" : "docker build -f hosting/dependencies/Dockerfile -t budibase/dependencies:local ." ,
2023-01-23 23:05:16 +13:00
"publish:docker:couch" : "docker buildx build --platform linux/arm64,linux/amd64 -f hosting/couchdb/Dockerfile -t budibase/couchdb:latest -t budibase/couchdb:v3.2.1 --push ./hosting/couchdb" ,
2023-01-23 23:45:59 +13: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" ,
2021-11-26 07:13:14 +13:00
"build:docs" : "lerna run build:docs" ,
2021-12-09 05:27:33 +13:00
"release:helm" : "node scripts/releaseHelmChart" ,
2021-10-09 01:13:16 +13:00
"env:multi:enable" : "lerna run env:multi:enable" ,
"env:multi:disable" : "lerna run env:multi:disable" ,
"env:selfhost:enable" : "lerna run env:selfhost:enable" ,
"env:selfhost:disable" : "lerna run env:selfhost:disable" ,
2022-11-10 05:35:16 +13:00
"env:localdomain:enable" : "./scripts/localdomain.sh enable" ,
"env:localdomain:disable" : "./scripts/localdomain.sh disable" ,
2021-10-09 01:13:16 +13:00
"env:account:enable" : "lerna run env:account:enable" ,
"env:account:disable" : "lerna run 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" ,
2021-11-18 07:04:16 +13:00
"security:audit" : "node scripts/audit.js" ,
2022-04-22 08:55:16 +12:00
"postinstall" : "husky install" ,
2022-04-26 21:21:45 +12:00
"install:pro" : "bash scripts/pro/install.sh" ,
2022-04-22 02:20:23 +12:00
"dep:clean" : "yarn clean && yarn bootstrap"
2020-03-12 03:04:47 +13:00
}
2023-01-23 23:05:16 +13:00
}