2020-02-03 18:43:11 +00:00
|
|
|
{
|
2020-03-14 08:54:34 +00:00
|
|
|
"private": true,
|
|
|
|
"name": "@dbgate/all",
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"start:api": "yarn workspace @dbgate/api start",
|
|
|
|
"start:web": "yarn workspace @dbgate/web start",
|
|
|
|
"start:sqltree": "yarn workspace @dbgate/sqltree 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",
|
2020-03-14 17:04:07 +00:00
|
|
|
"build:lib": "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-03-15 08:35:34 +00:00
|
|
|
"build:api": "yarn workspace @dbgate/api build",
|
2020-04-10 19:21:57 +00:00
|
|
|
"build:web:docker": "yarn workspace @dbgate/web build:docker",
|
|
|
|
"build:app:local": "cd app && yarn build:local",
|
|
|
|
"start:app:local": "cd app && yarn start:local",
|
2020-03-15 08:35:34 +00:00
|
|
|
|
|
|
|
"copy:docker:build": "copyfiles packages/api/dist/* docker -f && copyfiles packages/web/build/* docker -u 2 && copyfiles \"packages/web/build/**/*\" 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-15 08:35:34 +00:00
|
|
|
|
2020-03-14 08:54:34 +00:00
|
|
|
"prepare": "yarn build:lib",
|
|
|
|
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
|
2020-03-14 17:04:07 +00:00
|
|
|
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\"",
|
2020-03-14 08:54:34 +00:00
|
|
|
"ts:api": "yarn workspace @dbgate/api ts",
|
|
|
|
"ts:web": "yarn workspace @dbgate/web ts",
|
|
|
|
"ts": "yarn ts:api && yarn ts:web",
|
|
|
|
"postinstall": "patch-package"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"concurrently": "^5.1.0",
|
|
|
|
"patch-package": "^6.2.1",
|
|
|
|
"socket.io": "^2.3.0"
|
2020-03-15 08:35:34 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"copyfiles": "^2.2.0"
|
2020-03-14 08:54:34 +00:00
|
|
|
}
|
2020-02-03 18:43:11 +00:00
|
|
|
}
|