@mymcp-fun/bazi
Version:
专业的八字计算MCP服务器
75 lines (74 loc) • 2.04 kB
JSON
{
"name": "@mymcp-fun/bazi",
"version": "2.0.2",
"description": "专业的八字计算MCP服务器",
"type": "module",
"bin": {
"bazi": "dist/server.js"
},
"exports": {
".": "./dist/server.js",
"./service": "./dist/bazi-service.js",
"./types": "./dist/types.js"
},
"directories": {
"test": "tests"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && chmod +x dist/server.js",
"dev": "ts-node --esm src/server.ts",
"start": "node dist/server.js",
"test": "npm run test:basic && npm run test:mcp && npm run test:lunar",
"test:basic": "npm run build && node tests/basic-functionality.js",
"test:mcp": "npm run build && node tests/test-mcp-server.js",
"test:lunar": "npm run build && node tests/test-lunar-javascript.js",
"test:watch": "jest --watch",
"test:accuracy": "npm run build && node tests/final-accuracy-test.js",
"lint": "eslint src/**/*.ts",
"format": "prettier --write src/**/*.ts",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mymcp-fun/bazi.git"
},
"keywords": [
"mcp",
"bazi",
"八字",
"chinese-astrology",
"lunar-javascript",
"fortune-telling",
"typescript",
"traditional-chinese-calendar",
"ganzi",
"wuxing"
],
"author": "Howard <howard@mymcp.fun>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mymcp-fun/bazi/issues"
},
"homepage": "https://mymcp.fun",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.13.1",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"lunar-javascript": "^1.7.3",
"zod": "^3.25.67"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"prettier": "^3.0.0",
"ts-node": "^10.9.0",
"typescript": "^5.0.0"
}
}