dbgate/package.json

71 lines
4.4 KiB
JSON
Raw Normal View History

2020-02-03 18:43:11 +00:00
{
2020-03-14 08:54:34 +00:00
"private": true,
2023-02-04 08:46:29 +00:00
"version": "5.2.3-beta.1",
"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": {
2023-01-21 16:32:28 +00:00
"start:api": "yarn workspace dbgate-api start | pino-pretty",
2023-01-21 16:49:16 +00:00
"start:api:json": "yarn workspace dbgate-api start",
2023-01-22 09:31:16 +00:00
"start:app": "cd app && yarn start | pino-pretty",
2023-02-05 17:51:34 +00:00
"start:app:singledb": "CONNECTIONS=con1 SERVER_con1=localhost ENGINE_con1=mysql@dbgate-plugin-mysql USER_con1=root PASSWORD_con1=Pwd2020Db SINGLE_CONNECTION=con1 SINGLE_DATABASE=Chinook yarn start:app",
2022-07-14 03:38:59 +00:00
"start:api:debug": "cross-env DEBUG=* yarn workspace dbgate-api start",
"start:app:debug": "cd app && cross-env DEBUG=* yarn start",
"start:api:debug:ssh": "cross-env DEBUG=ssh yarn workspace dbgate-api start",
"start:app:debug:ssh": "cd app && cross-env DEBUG=ssh yarn start",
2023-01-22 09:31:16 +00:00
"start:api:portal": "yarn workspace dbgate-api start:portal | pino-pretty",
"start:api:singledb": "yarn workspace dbgate-api start:singledb | pino-pretty",
"start:api:auth": "yarn workspace dbgate-api start:auth | pino-pretty",
"start:api:dblogin": "yarn workspace dbgate-api start:dblogin | pino-pretty",
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",
"build:sqltree": "yarn workspace dbgate-sqltree build",
"build:datalib": "yarn workspace dbgate-datalib build",
"build:filterparser": "yarn workspace dbgate-filterparser build",
"build:tools": "yarn workspace dbgate-tools build",
2022-04-09 07:30:01 +00:00
"build:lib": "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",
"adjustPackageJson": "node adjustPackageJson",
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\"",
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\" \"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",
2022-03-24 08:00:51 +00:00
"postinstall": "yarn resetPackagedPlugins && yarn build:lib && patch-package && yarn fillNativeModules && yarn build:plugins:frontend",
"dbgate-serve": "node packages/dbgate/bin/dbgate-serve.js"
2020-03-14 08:54:34 +00:00
},
"dependencies": {
"concurrently": "^5.1.0",
2023-01-21 16:32:28 +00:00
"patch-package": "^6.2.1",
"pino-pretty": "^9.1.1"
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
}