package.json•2.67 kB
{
"name": "hypotheek-berekening-server",
"version": "5.0.0",
"description": "MCP server voor hypotheekberekeningen met strict type safety en validatie",
"main": "build/index.js",
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"start": "node build/index.js",
"dev": "tsx watch src/index.ts",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' jest --watch",
"test:coverage": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
"test:contract": "NODE_OPTIONS='--experimental-vm-modules' jest tests/contract",
"test:api": "NODE_OPTIONS='--experimental-vm-modules' jest tests/unit/api-client.test.ts",
"test:rate-limit": "NODE_OPTIONS='--experimental-vm-modules' jest tests/unit/rate-limiter.test.ts",
"test:integration": "NODE_OPTIONS='--experimental-vm-modules' jest tests/integration --passWithNoTests",
"test:all": "npm run test && npm run test:integration",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"type-check": "tsc --noEmit",
"validate": "npm run type-check && npm run lint"
},
"keywords": [
"mcp",
"hypotheek",
"mortgage",
"calculator",
"ai-agent"
],
"author": "",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.4",
"dotenv": "^17.2.3",
"winston": "^3.18.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"ts-jest": "^29.1.1",
"tsx": "^4.7.0",
"typescript": "^5.3.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"roots": [
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/*.test.ts"
],
"coverageThreshold": {
"global": {
"branches": 42,
"functions": 46,
"lines": 45,
"statements": 44
}
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
]
}
}