package.json•4.86 kB
{
"name": "deepsource-mcp-server",
"version": "1.7.1",
"description": "Model Context Protocol server for DeepSource",
"repository": {
"type": "git",
"url": "git+https://github.com/sapientpants/deepsource-mcp-server.git"
},
"bugs": {
"url": "https://github.com/sapientpants/deepsource-mcp-server/issues"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"bin": {
"deepsource-mcp-server": "./dist/index.js"
},
"packageManager": "pnpm@10.17.0",
"engines": {
"node": ">=22.19.0"
},
"scripts": {
"build:watch": "tsc -p tsconfig.build.json --watch",
"build": "tsc -p tsconfig.build.json && node scripts/build-with-version.js",
"changeset:status": "changeset status --since=main",
"changeset": "changeset",
"ci:local:fast": "./scripts/ci-local.sh --fast",
"ci:local": "./scripts/ci-local.sh",
"clean": "rimraf dist coverage",
"coverage:open": "open coverage/index.html",
"coverage:report": "vitest run --coverage --reporter=verbose",
"deps:check": "depcheck",
"dev": "tsc --watch --preserveWatchOutput",
"doctor": "node -e \"console.log('Node:', process.version); console.log('npm scripts:', Object.keys(require('./package.json').scripts).length, 'available'); console.log('Run: pnpm run help')\"",
"format:fix": "prettier --write .",
"format": "prettier --check .",
"help": "node -e \"const s=require('./package.json').scripts; console.log('Available commands:'); Object.keys(s).sort().forEach(k => console.log(' pnpm run ' + k.padEnd(20) + ' # ' + s[k].split(' ')[0]))\"",
"inspect": "npx @modelcontextprotocol/inspector@latest node dist/index.js",
"lint-staged": "lint-staged",
"lint:fix": "eslint . --fix",
"lint:markdown:fix": "markdownlint-cli2 --fix \"**/*.md\" \"#node_modules\"",
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
"lint:workflows": "./scripts/actionlint.sh",
"lint:yaml": "yamllint '**/*.{yml,yaml}' --ignore='node_modules/**' --ignore='.github/workflows/**' --ignore='pnpm-lock.yaml'",
"lint": "eslint .",
"precommit": "pnpm audit --audit-level critical && pnpm deps:check && pnpm typecheck && pnpm lint && pnpm lint:workflows && pnpm lint:markdown && pnpm lint:yaml && pnpm format && pnpm test",
"prepare": "husky",
"quick-check": "pnpm typecheck && pnpm lint && pnpm test",
"release:publish": "pnpm build && changeset publish",
"release:tag": "git add -A && git commit -m \"chore(release): version packages\" && git tag -a v$(node -p \"require('./package.json').version\") -m \"Release\"",
"release": "changeset version && pnpm build",
"reset": "pnpm clean && pnpm install",
"sbom": "pnpm dlx @cyclonedx/cdxgen -o sbom.cdx.json",
"scan:container:sarif": "./scripts/scan-container.sh --format sarif --output container-scan.sarif",
"scan:container": "./scripts/scan-container.sh",
"schema:update": "node scripts/update-graphql-schema.js",
"setup": "./scripts/setup.sh",
"start": "node dist/index.js",
"test:coverage:watch": "vitest --coverage",
"test:coverage": "vitest run --reporter=verbose --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"test": "vitest run --reporter=verbose",
"typecheck:watch": "tsc -p tsconfig.json --noEmit --watch",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"verify": "pnpm precommit"
},
"lint-staged": {
"*.{ts,tsx,js,json,md,yml,yaml}": [
"prettier --write"
],
"*.{ts,tsx,js,json,jsonc,json5}": [
"eslint --fix"
],
"*.md": [
"markdownlint-cli2 --fix"
],
"*.{yml,yaml}": [
"yamllint"
]
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.18.1",
"axios": "^1.12.2",
"zod": "^3.25.76"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@cyclonedx/cdxgen": "11.8.0",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitest/coverage-v8": "^3.2.4",
"changelog-github-custom": "^1.2.5",
"depcheck": "^1.4.7",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsonc": "2.20.1",
"eslint-plugin-prettier": "^5.5.4",
"graphql": "^16.11.0",
"husky": "^9.1.7",
"jsonc-eslint-parser": "2.4.1",
"lint-staged": "^16.2.0",
"markdownlint-cli2": "0.18.1",
"nock": "^14.0.10",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"typescript": "^5.9.2",
"vite": "7.1.7",
"vitest": "^3.2.4",
"yaml-lint": "1.7.0"
},
"pnpm": {
"overrides": {
"form-data": ">=4.0.4"
}
}
}