package.json•8 kB
{
"name": "devdb",
"version": "2.12.1",
"publisher": "damms005",
"engines": {
"vscode": "^1.83.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"displayName": "DevDb",
"description": "A zero-config extension that displays your database records right inside VS Code and provides tools and affordances to aid development and debugging.",
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"devdb",
"database",
"mysql",
"mariadb",
"sqlite",
"postgresql",
"postgres",
"rails",
"ruby on rails",
"django",
"python django",
"sql",
"database",
"database management",
"database management system",
"database manager",
"database manager",
"database manager"
],
"galleryBanner": {
"color": "#f9fafb",
"theme": "light"
},
"preview": false,
"main": "./dist/extension.js",
"homepage": "https://github.com/damms005/devdb-vscode/blob/main/README.md",
"bugs": {
"url": "https://github.com/damms005/devdb-vscode/discussions",
"email": "damms005@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/damms005/devdb-vscode.git"
},
"icon": "resources/devdb-128x128.png",
"activationEvents": [
"workspaceContains:**/.devdbrc",
"onLanguage:php",
"onLanguage:javascript",
"onLanguage:typescript",
"onUri"
],
"contributes": {
"commands": [
{
"command": "devdb.goto-table",
"title": "Go to Table"
},
{
"command": "devdb.context-menu.open-table-at-cursor",
"title": "Open table at cursor"
},
{
"command": "devdb.laravel.generate-factory",
"title": "Generate Laravel Factory"
},
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"title": "Generate Laravel Factory"
},
{
"command": "devdb.laravel.explain-query",
"title": "Explain query"
},
{
"command": "devdb.context-menu.laravel.explain-query",
"title": "Explain query"
}
],
"jsonValidation": [
{
"fileMatch": ".devdbrc",
"url": "./schemas/devdbrc.json"
}
],
"snippets": [
{
"language": "json",
"path": "./snippets/devdbrc.json"
}
],
"languages": [
{
"id": "json",
"filenames": [
".devdbrc"
],
"aliases": [
"DevDb Config"
]
}
],
"viewsContainers": {
"panel": [
{
"id": "devdb-container",
"title": "DevDb",
"icon": "resources/devdb.png"
}
]
},
"views": {
"devdb-container": [
{
"type": "webview",
"id": "devdb",
"name": "DevDb",
"icon": "resources/devdb.png"
}
]
},
"keybindings": [
{
"command": "devdb.focus",
"key": "CTRL+K CTRL+D",
"mac": "CMD+K CMD+D",
"title": "Toggle DevDb Panel"
},
{
"command": "devdb.goto-table",
"key": "CTRL+K CTRL+G",
"mac": "CMD+K CMD+G",
"title": "Go to Table"
}
],
"menus": {
"commandPalette": [
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"when": "false"
},
{
"command": "devdb.laravel.generate-factory",
"when": "false"
},
{
"command": "devdb.laravel.explain-query",
"when": "false"
}
],
"editor/context": [
{
"submenu": "devdb.submenu",
"group": "navigation@1"
}
],
"devdb.submenu": [
{
"command": "devdb.context-menu.open-table-at-cursor",
"when": "editorTextFocus",
"group": "1_general@1"
},
{
"command": "devdb.context-menu.laravel.generate-factory-from-word-under-cursor",
"label": "Generate Laravel Factory",
"when": "resourceLangId == php",
"group": "2_laravel@1"
},
{
"command": "devdb.context-menu.laravel.explain-query",
"label": "Explain query",
"when": "resourceLangId == php",
"group": "2_laravel@1"
}
]
},
"submenus": [
{
"id": "devdb.submenu",
"label": "DevDb"
}
],
"configuration": {
"title": "DevDb",
"properties": {
"Devdb.colorTheme": {
"title": "Color Theme",
"type": "string",
"default": "light",
"description": "The color theme for the webview.",
"enum": [
"light",
"dark"
]
},
"Devdb.showDebugInfo": {
"type": "boolean",
"default": false,
"description": "Show debugging information in the console."
},
"Devdb.phpExecutablePath": {
"type": "string",
"default": "php",
"markdownDescription": "Path to PHP executable used for running Laravel Artisan commands. Defaults to 'php' if not specified."
},
"Devdb.enableCodeLensForTextSelection": {
"type": "boolean",
"default": true,
"description": "Enable Code Lens for text selection."
},
"Devdb.showFewerUpdateNotificationActions": {
"type": "boolean",
"default": false,
"markdownDescription": "Show fewer actions on new update notification."
},
"Devdb.customBasePath": {
"type": "string",
"default": "",
"title": "Custom absolute path for zero config",
"markdownDescription": "Custom absolute path to use for zero config instead of defaulting to current workspace path."
},
"Devdb.enableMcpServer": {
"type": "boolean",
"default": true,
"description": "Enable DevDb's local MCP server."
}
}
}
},
"scripts": {
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"build": "cd ui-shell && npm run build && cd .. && npm run compile",
"test": "node ./out/test/runTest.js",
"mocha": "./node_modules/.bin/mocha --bail --require ts-node/register",
"test-services": "./node_modules/.bin/mocha --bail --timeout 30000 --require ts-node/register ./src/test/suite/**/*.test.ts",
"publish": "./publish.sh",
"compile": "npm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "cd ui-shell && npm run watch",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"vscode:prepublish": "npm run package",
"package": "npm run check-types && node esbuild.js --production"
},
"devDependencies": {
"@testcontainers/mssqlserver": "^10.18.0",
"@testcontainers/mysql": "^10.18.0",
"@testcontainers/postgresql": "^10.18.0",
"@types/express": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.80",
"@types/pluralize": "^0.0.33",
"@types/vscode": "~1.83.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vscode/test-electron": "^2.4.1",
"chokidar-cli": "^3.0.0",
"eslint": "^8.57.1",
"from": "^0.1.7",
"glob": "^11.0.1",
"import": "^0.0.6",
"mocha": "^11.1.0",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"testcontainers": "^10.18.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
},
"dependencies": {
"@azure/app-configuration": "^1.8.0",
"@azure/keyvault-secrets": "^4.9.0",
"@modelcontextprotocol/sdk": "^1.10.1",
"@vscode/sqlite3": "^5.1.8-vscode",
"better-sqlite3": "^11.9.1",
"case": "^1.6.3",
"cosmiconfig": "^8.3.6",
"csv-parse": "^5.6.0",
"dotenv": "^16.4.7",
"esbuild": "^0.25.1",
"express": "^5.1.0",
"knex": "^3.1.0",
"lru-cache": "^11.0.2",
"mysql": "^2.18.1",
"mysql2": "^3.13.0",
"npm-run-all": "^4.1.5",
"oci-common": "^2.105.0",
"oci-objectstorage": "^2.105.0",
"oci-secrets": "^2.105.0",
"oracledb": "^6.8.0",
"pg": "^8.14.0",
"pg-hstore": "^2.3.4",
"pg-query-stream": "^4.8.0",
"php-parser": "^3.2.2",
"pluralize": "^8.0.0",
"sql-formatter": "^13.1.0",
"sqlite3": "^5.1.7",
"tedious": "^18.6.1",
"yaml": "^2.7.0"
},
"overrides": {
"css-select": "5.2.0",
"else-release-fails": "https://github.com/damms005/devdb-vscode/actions/runs/15945597878/job/44979269916 due to https://github.com/fb55/css-select/issues/1592"
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
],
"useTabs": true,
"semi": false,
"printWidth": 165,
"singleQuote": true,
"arrowParens": "avoid"
}
}