67 lines
3.5 KiB
JSON
67 lines
3.5 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@rollup/plugin-json": "^4.0.2",
|
|
"babel-eslint": "^10.0.3",
|
|
"eslint": "^7.28.0",
|
|
"eslint-plugin-cypress": "^2.11.3",
|
|
"eslint-plugin-svelte3": "^3.2.0",
|
|
"husky": "^7.0.1",
|
|
"kill-port": "^1.6.1",
|
|
"lerna": "3.14.1",
|
|
"prettier": "^2.3.1",
|
|
"prettier-plugin-svelte": "^2.3.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"svelte": "^3.38.2"
|
|
},
|
|
"scripts": {
|
|
"setup": "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
|
"bootstrap": "lerna link && lerna bootstrap",
|
|
"build": "lerna run build",
|
|
"publishdev": "lerna run publishdev",
|
|
"publishnpm": "yarn build && lerna publish --force-publish",
|
|
"release": "yarn build && lerna publish patch --yes --force-publish",
|
|
"release:develop": "yarn build && lerna publish prerelease --yes --force-publish --dist-tag develop",
|
|
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
|
"nuke:packages": "yarn run restore",
|
|
"nuke:docker": "lerna run --parallel dev:stack:nuke",
|
|
"clean": "lerna clean",
|
|
"kill-port": "kill-port 4001",
|
|
"dev": "yarn run kill-port && lerna link && lerna run --parallel dev:builder --concurrency 1",
|
|
"dev:noserver": "lerna link && lerna run dev:stack:up && lerna run --parallel dev:builder --concurrency 1 --ignore @budibase/server --ignore @budibase/worker",
|
|
"dev:server": "lerna run --parallel dev:builder --concurrency 1 --scope @budibase/worker --scope @budibase/server",
|
|
"test": "lerna run test",
|
|
"lint:eslint": "eslint packages",
|
|
"lint:prettier": "prettier --check \"packages/**/*.{js,svelte}\"",
|
|
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
|
"lint:fix:eslint": "eslint --fix packages",
|
|
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,svelte}\"",
|
|
"lint:fix:ts": "lerna run lint:fix",
|
|
"lint:fix": "yarn run lint:fix:ts && yarn run lint:fix:prettier && yarn run lint:fix:eslint",
|
|
"test:e2e": "lerna run cy:test",
|
|
"test:e2e:ci": "lerna run cy:ci",
|
|
"build:docker": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh $BUDIBASE_RELEASE_VERSION && cd -",
|
|
"build:docker:selfhost": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh latest && cd -",
|
|
"build:docker:develop": "node scripts/pinVersions && lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
|
|
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
|
|
"build:docs": "lerna run build:docs",
|
|
"release:helm": "./scripts/release_helm_chart.sh",
|
|
"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",
|
|
"security:audit": "node scripts/audit.js",
|
|
"postinstall": "husky install"
|
|
}
|
|
}
|