dbgate/package.json

63 lines
3.7 KiB
JSON
Raw Normal View History

2020-02-03 18:43:11 +00:00
{
2020-03-14 08:54:34 +00:00
"private": true,
2022-03-17 19:40:40 +00:00
"version": "4.7.4-beta.6",
"name": "dbgate-all",
2020-03-14 08:54:34 +00:00
"workspaces": [
2021-04-13 14:17:53 +00:00
"packages/*",
2021-05-27 07:12:21 +00:00
"plugins/*",
"integration-tests"
2020-03-14 08:54:34 +00:00
],
"scripts": {
"start:api": "yarn workspace dbgate-api start",
2021-12-25 10:54:13 +00:00
"start:app": "cd app && yarn start",
"start:api:portal": "yarn workspace dbgate-api start:portal",
2022-03-13 16:32:26 +00:00
"start:api:singledb": "yarn workspace dbgate-api start:singledb",
2021-02-20 18:37:19 +00:00
"start:web": "yarn workspace dbgate-web dev",
"start:sqltree": "yarn workspace dbgate-sqltree start",
"start:tools": "yarn workspace dbgate-tools start",
"start:datalib": "yarn workspace dbgate-datalib start",
"start:filterparser": "yarn workspace dbgate-filterparser start",
2021-06-02 19:02:28 +00:00
"start:querysplitter": "yarn workspace dbgate-query-splitter start",
"build:sqltree": "yarn workspace dbgate-sqltree build",
"build:datalib": "yarn workspace dbgate-datalib build",
"build:filterparser": "yarn workspace dbgate-filterparser build",
2021-06-02 19:02:28 +00:00
"build:querysplitter": "yarn workspace dbgate-query-splitter build",
"build:tools": "yarn workspace dbgate-tools build",
2022-03-17 11:45:02 +00:00
"build:lib": "yarn build:querysplitter && yarn build:sqltree && yarn build:tools && yarn build:filterparser && yarn build:datalib",
2021-04-15 15:22:53 +00:00
"build:app": "yarn plugins:copydist && cd app && yarn install && yarn build",
"build:api": "yarn workspace dbgate-api build",
"build:web:docker": "yarn workspace dbgate-web build",
2021-04-15 08:52:02 +00:00
"build:plugins:frontend": "workspaces-run --only=\"dbgate-plugin-*\" -- yarn build:frontend",
2021-04-15 09:00:42 +00:00
"build:plugins:frontend:watch": "workspaces-run --parallel --only=\"dbgate-plugin-*\" -- yarn build:frontend:watch",
2021-04-15 10:42:34 +00:00
"plugins:copydist": "workspaces-run --only=\"dbgate-plugin-*\" -- yarn copydist",
2021-04-15 15:22:53 +00:00
"build:app:local": "yarn plugins:copydist && cd app && yarn build:local",
2020-04-10 19:21:57 +00:00
"start:app:local": "cd app && yarn start:local",
2020-12-10 12:31:37 +00:00
"setCurrentVersion": "node setCurrentVersion",
2021-01-07 15:29:01 +00:00
"generatePadFile": "node generatePadFile",
2021-01-17 08:11:09 +00:00
"fillNativeModules": "node fillNativeModules",
2021-04-24 07:44:58 +00:00
"fillNativeModulesElectron": "node fillNativeModules --electron",
"fillPackagedPlugins": "node fillPackagedPlugins",
"resetPackagedPlugins": "node resetPackagedPlugins",
2021-01-23 06:33:52 +00:00
"prettier": "prettier --write packages/api/src && prettier --write packages/datalib/src && prettier --write packages/filterparser/src && prettier --write packages/sqltree/src && prettier --write packages/tools/src && prettier --write packages/types && prettier --write packages/web/src && prettier --write app/src",
2021-04-15 15:41:35 +00:00
"copy:docker:build": "copyfiles packages/api/dist/* docker -f && copyfiles packages/web/public/* docker -u 2 && copyfiles \"packages/web/public/**/*\" docker -u 2 && copyfiles \"plugins/dist/**/*\" docker/plugins -u 2",
"install:sqlite:docker": "cd docker && yarn init --yes && yarn add better-sqlite3 && cd ..",
"prepare:docker": "yarn plugins:copydist && yarn build:web:docker && yarn build:api && yarn copy:docker:build && yarn install:sqlite:docker",
2020-03-14 08:54:34 +00:00
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
2021-05-31 16:38:16 +00:00
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\" \"yarn start:querysplitter\" \"yarn build:plugins:frontend:watch\"",
"ts:api": "yarn workspace dbgate-api ts",
"ts:web": "yarn workspace dbgate-web ts",
2020-03-14 08:54:34 +00:00
"ts": "yarn ts:api && yarn ts:web",
"postinstall": "yarn resetPackagedPlugins && yarn build:lib && patch-package && yarn fillNativeModules && yarn build:plugins:frontend"
2020-03-14 08:54:34 +00:00
},
"dependencies": {
"concurrently": "^5.1.0",
"patch-package": "^6.2.1",
"socket.io": "^2.3.0"
2020-03-15 08:35:34 +00:00
},
"devDependencies": {
2021-01-23 06:32:15 +00:00
"copyfiles": "^2.2.0",
2021-04-15 08:52:02 +00:00
"prettier": "^2.2.1",
"workspaces-run": "^1.0.1"
2021-02-01 17:28:16 +00:00
}
2020-02-03 18:43:11 +00:00
}