package.json•1.46 kB
{
"name": "scrapbox-cosense-mcp",
"version": "0.4.0",
"description": "MCP server for cosense",
"private": false,
"license": "MIT",
"type": "module",
"bin": {
"scrapbox-cosense-mcp": "./build/index.js"
},
"files": [
"build"
],
"scripts": {
"build": "tsc -p tsconfig.build.json && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
"prepare": "npm run build",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test": "jest",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"security:scan": "grep -r 's:[A-Za-z0-9_-]\\{20,\\}\\.' src/ | grep -v DUMMY | grep -v TEST || echo 'No suspicious SID patterns found'",
"precommit": "npm run lint && npm run test && npm run security:scan"
},
"dependencies": {
"@cosense/std": "npm:@jsr/cosense__std@^0.29.8",
"@cosense/types": "npm:@jsr/cosense__types@^0.10.4",
"@jsr/cosense__std": "^0.29.14",
"@jsr/cosense__types": "^0.10.8",
"@modelcontextprotocol/sdk": "0.6.0",
"@whatwg-node/fetch": "^0.10.1",
"md2sb": "^5.1.2"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"eslint": "^9.29.0",
"jest": "^29.7.0",
"ts-jest": "^29.4.0",
"typescript": "^5.3.3"
}
}