chore: scaffold tsup, biome, vitest, deps

This commit is contained in:
smartass
2026-06-11 23:02:08 +05:00
parent cf52ac9420
commit 80ba44f1ce
9 changed files with 6598 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"name": "dbmole-mcp",
"version": "0.1.0",
"description": "MCP server for PostgreSQL and MySQL with named connections and SSH tunnels",
"license": "MIT",
"type": "module",
"bin": {
"dbmole-mcp": "dist/index.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsup",
"dev": "tsx src/index.ts",
"lint": "biome check src test",
"lint:fix": "biome check --write src test",
"typecheck": "tsc --noEmit",
"test": "vitest run --project unit",
"test:unit": "vitest run --project unit",
"test:int": "vitest run --project integration",
"test:all": "vitest run",
"coverage": "vitest run --project unit --coverage"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"mysql2": "^3.22.5",
"pg": "^8.21.0",
"ssh2": "^1.17.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@biomejs/biome": "^2.4.16",
"@testcontainers/mysql": "^11.14.0",
"@testcontainers/postgresql": "^11.14.0",
"@types/node": "^22.19.21",
"@types/pg": "^8.20.0",
"@types/ssh2": "^1.15.5",
"@vitest/coverage-v8": "^3.2.6",
"testcontainers": "^11.14.0",
"tsup": "^8.5.1",
"tsx": "^4.22.4",
"typescript": "^5.9.3",
"vitest": "^3.2.6"
}
}