package.json•2.17 kB
{
"name": "dbhub",
"version": "0.11.4",
"description": "Universal Database MCP Server",
"repository": {
"type": "git",
"url": "https://github.com/bytebase/dbhub.git"
},
"main": "dist/index.js",
"type": "module",
"bin": {
"dbhub": "dist/index.js"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"start": "node dist/index.js",
"dev": "NODE_ENV=development tsx src/index.ts",
"crossdev": "cross-env NODE_ENV=development tsx src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "vitest run --testNamePattern='Integration Tests'",
"prepare": "[[ \"$NODE_ENV\" != \"production\" ]] && husky || echo \"Skipping husky in production\"",
"pre-commit": "lint-staged"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@azure/identity": "^4.8.0",
"@modelcontextprotocol/sdk": "^1.12.1",
"better-sqlite3": "^11.9.0",
"dotenv": "^16.4.7",
"express": "^4.18.2",
"mariadb": "^3.4.0",
"mssql": "^11.0.1",
"mysql2": "^3.13.0",
"pg": "^8.13.3",
"ssh-config": "^5.0.3",
"ssh2": "^1.16.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@testcontainers/mariadb": "^11.0.3",
"@testcontainers/mssqlserver": "^11.0.3",
"@testcontainers/mysql": "^11.0.3",
"@testcontainers/postgresql": "^11.0.3",
"@types/better-sqlite3": "^7.6.12",
"@types/express": "^4.17.21",
"@types/mssql": "^9.1.7",
"@types/node": "^22.13.10",
"@types/pg": "^8.11.11",
"@types/ssh2": "^1.15.5",
"cross-env": "^7.0.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.5.3",
"testcontainers": "^11.0.3",
"ts-node": "^10.9.2",
"tsup": "^8.4.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^1.6.1"
},
"compilerOptions": {
"target": "ES2020",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"strict": true,
"outDir": "dist",
"rootDir": "src"
},
"include": [
"src/**/*"
],
"lint-staged": {
"*.{js,ts}": "vitest related --run"
}
}