diff --git a/packages/api/package.json b/packages/api/package.json index b6b8dc6f2..c430fb9b2 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -42,7 +42,8 @@ "node-cron": "^2.0.3", "simple-encryptor": "^4.0.0", "tar": "^6.0.5", - "uuid": "^3.4.0" + "uuid": "^3.4.0", + "socket.io": "^2.3.0" }, "scripts": { "start": "nodemon src/index.js", diff --git a/packages/dbgate/README.md b/packages/dbgate/README.md index e17ae986d..df5c3e5c1 100644 --- a/packages/dbgate/README.md +++ b/packages/dbgate/README.md @@ -15,7 +15,7 @@ After installing, you can run dbgate with command: dbgate ``` -Open http://localhost:5000 in your browser +Then open http://localhost:5000 in your browser ## Download electron app You can also download binary packages from https://dbgate.org . Or run from source code, as described on [github](https://github.com/dbgate/dbgate) diff --git a/packages/web/package.json b/packages/web/package.json index dbfb82de9..81d02734c 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,36 @@ { "name": "dbgate-web", "version": "3.9.6-alpha.8", - "dependencies": { + "files": [ + "build" + ], + "scripts": { + "start": "cross-env BROWSER=none PORT=5000 react-scripts start", + "build:docker": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", + "build:app": "cross-env PUBLIC_URL=. CI=false react-scripts build", + "build": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", + "prepublishOnly": "yarn build", + "test": "react-scripts test", + "eject": "react-scripts eject", + "ts": "tsc" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "@types/react": "^16.9.17", + "@types/styled-components": "^4.4.2", + "dbgate-types": "^3.9.6-alpha.8", + "typescript": "^3.7.4", "@ant-design/colors": "^5.0.0", "@mdi/font": "^5.8.55", "@testing-library/jest-dom": "^4.2.4", @@ -36,36 +65,5 @@ "sql-formatter": "^2.3.3", "styled-components": "^4.4.1", "uuid": "^3.4.0" - }, - "files": [ - "build" - ], - "scripts": { - "start": "cross-env BROWSER=none PORT=5000 react-scripts start", - "build:docker": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", - "build:app": "cross-env PUBLIC_URL=. CI=false react-scripts build", - "build": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", - "prepublishOnly": "yarn build", - "test": "react-scripts test", - "eject": "react-scripts eject", - "ts": "tsc" - }, - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] - }, - "devDependencies": { - "@types/react": "^16.9.17", - "@types/styled-components": "^4.4.2", - "dbgate-types": "^3.9.6-alpha.8", - "typescript": "^3.7.4" } } \ No newline at end of file