2020-02-03 18:43:11 +00:00
|
|
|
{
|
2020-03-14 08:54:34 +00:00
|
|
|
"private": true,
|
2021-04-12 16:40:36 +00:00
|
|
|
"version": "4.1.0",
|
2020-11-16 20:59:08 +00:00
|
|
|
"name": "dbgate-all",
|
2020-03-14 08:54:34 +00:00
|
|
|
"workspaces": [
|
2021-04-13 14:17:53 +00:00
|
|
|
"packages/*",
|
|
|
|
"plugins/*"
|
2020-03-14 08:54:34 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
2020-11-16 20:59:08 +00:00
|
|
|
"start:api": "yarn workspace dbgate-api start",
|
|
|
|
"start:api:portal": "yarn workspace dbgate-api start:portal",
|
2020-12-10 10:11:03 +00:00
|
|
|
"start:api:covid": "yarn workspace dbgate-api start:covid",
|
2021-02-20 18:37:19 +00:00
|
|
|
"start:web": "yarn workspace dbgate-web dev",
|
|
|
|
"start:sqltree": "yarn workspace dbgate-sqltree start",
|
2020-11-16 20:59:08 +00:00
|
|
|
"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",
|
2020-06-21 19:55:37 +00:00
|
|
|
"build:lib": "yarn build:tools && yarn build:sqltree && yarn build:filterparser && yarn build:datalib",
|
2020-03-14 17:14:59 +00:00
|
|
|
"build:app": "cd app && yarn install && yarn build",
|
2020-11-16 20:59:08 +00:00
|
|
|
"build:api": "yarn workspace dbgate-api build",
|
2021-03-21 18:20:42 +00:00
|
|
|
"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",
|
2020-04-10 19:21:57 +00:00
|
|
|
"build:app:local": "cd app && yarn build:local",
|
|
|
|
"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",
|
|
|
|
"fillNativeModulesElectron": "node fillNativeModules --eletron",
|
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-03-21 18:20:42 +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",
|
2020-04-10 19:21:57 +00:00
|
|
|
"prepare:docker": "yarn build:web:docker && yarn build:api && yarn copy:docker:build",
|
2020-03-14 08:54:34 +00:00
|
|
|
"prepare": "yarn build:lib",
|
|
|
|
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
|
2021-04-15 09:00:42 +00:00
|
|
|
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\" \"yarn build:plugins:frontend:watch\"",
|
2020-11-16 20:59:08 +00:00
|
|
|
"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",
|
2021-04-15 08:52:02 +00:00
|
|
|
"postinstall": "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
|
|
|
}
|