2019-03-19 22:45:21 +01:00
{
2019-06-07 15:18:10 +02:00
"name" : "root" ,
"private" : true ,
"devDependencies" : {
2020-04-17 11:26:48 +02:00
"@rollup/plugin-json" : "^4.0.2" ,
2020-02-25 16:21:23 +01:00
"babel-eslint" : "^10.0.3" ,
2021-06-15 13:42:50 +02:00
"eslint" : "^7.28.0" ,
"eslint-plugin-cypress" : "^2.11.3" ,
"eslint-plugin-svelte3" : "^3.2.0" ,
2021-08-19 16:55:54 +02:00
"husky" : "^7.0.1" ,
2021-12-08 17:27:33 +01:00
"js-yaml" : "^4.1.0" ,
2020-11-05 23:09:49 +01:00
"kill-port" : "^1.6.1" ,
2020-02-21 19:06:23 +01:00
"lerna" : "3.14.1" ,
2021-06-15 13:42:50 +02:00
"prettier" : "^2.3.1" ,
"prettier-plugin-svelte" : "^2.3.0" ,
2020-10-12 21:39:29 +02:00
"rimraf" : "^3.0.2" ,
2020-03-04 17:47:47 +01:00
"rollup-plugin-replace" : "^2.2.0" ,
2021-05-07 12:14:57 +02:00
"svelte" : "^3.38.2"
2019-09-23 02:04:30 +02:00
} ,
2020-01-22 14:50:39 +01:00
"scripts" : {
2021-08-12 10:41:19 +02:00
"setup" : "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev" ,
2021-03-31 11:59:26 +02:00
"bootstrap" : "lerna link && lerna bootstrap" ,
2020-01-22 14:50:39 +01:00
"build" : "lerna run build" ,
2020-02-22 23:29:11 +01:00
"publishdev" : "lerna run publishdev" ,
2020-08-11 16:41:35 +02:00
"publishnpm" : "yarn build && lerna publish --force-publish" ,
2021-12-17 14:58:03 +01:00
"release" : "lerna publish patch --yes --force-publish" ,
2021-12-17 15:27:46 +01:00
"release:develop" : "lerna publish prerelease --yes --force-publish --dist-tag develop" ,
2021-04-07 18:38:49 +02: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-07 18:13:19 +02:00
"nuke:docker" : "lerna run --parallel dev:stack:nuke" ,
2020-01-28 10:11:08 +01:00
"clean" : "lerna clean" ,
2020-11-05 23:09:49 +01:00
"kill-port" : "kill-port 4001" ,
2021-04-01 11:18:45 +02:00
"dev" : "yarn run kill-port && lerna link && lerna run --parallel dev:builder --concurrency 1" ,
2021-04-09 16:11:49 +02:00
"dev:noserver" : "lerna link && lerna run dev:stack:up && lerna run --parallel dev:builder --concurrency 1 --ignore @budibase/server --ignore @budibase/worker" ,
2021-10-11 12:40:02 +02:00
"dev:server" : "lerna run --parallel dev:builder --concurrency 1 --scope @budibase/worker --scope @budibase/server" ,
2020-01-31 15:23:16 +01:00
"test" : "lerna run test" ,
2021-06-15 13:42:50 +02:00
"lint:eslint" : "eslint packages" ,
2022-01-20 09:17:08 +01:00
"lint:prettier" : "prettier --check \"packages/**/*.{js,ts,svelte}\"" ,
2021-06-15 13:42:50 +02:00
"lint" : "yarn run lint:eslint && yarn run lint:prettier" ,
"lint:fix:eslint" : "eslint --fix packages" ,
2022-01-20 09:17:08 +01:00
"lint:fix:prettier" : "prettier --write \"packages/**/*.{js,ts,svelte}\"" ,
2021-06-24 19:16:48 +02:00
"lint:fix:ts" : "lerna run lint:fix" ,
"lint:fix" : "yarn run lint:fix:ts && yarn run lint:fix:prettier && yarn run lint:fix:eslint" ,
2020-08-05 16:18:28 +02:00
"test:e2e" : "lerna run cy:test" ,
2021-01-11 12:24:53 +01:00
"test:e2e:ci" : "lerna run cy:ci" ,
2022-01-31 14:52:44 +01: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 -" ,
"build:docker:proxy" : "docker build hosting/proxy -t proxy-service" ,
2021-11-22 18:25:57 +01:00
"build:docker:selfhost" : "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -" ,
2022-01-31 14:52:44 +01: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-28 13:29:00 +02:00
"build:docker:airgap" : "node hosting/scripts/airgapped/airgappedDockerBuild" ,
2021-12-02 14:38:57 +01:00
"build:digitalocean" : "cd hosting/digitalocean && ./build.sh && cd -" ,
2021-11-25 19:13:14 +01:00
"build:docs" : "lerna run build:docs" ,
2021-12-08 17:27:33 +01:00
"release:helm" : "node scripts/releaseHelmChart" ,
2021-10-08 14:13:16 +02: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" ,
"env:localdomain:enable" : "lerna run env:localdomain:enable" ,
"env:localdomain:disable" : "lerna run env:localdomain:disable" ,
"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-17 19:04:16 +01:00
"security:audit" : "node scripts/audit.js" ,
2021-08-19 17:01:48 +02:00
"postinstall" : "husky install"
2020-03-11 15:04:47 +01:00
}
2020-11-05 23:09:49 +01:00
}