package.json•1.23 kB
{
"name": "open-food-facts-mcp",
"version": "1.0.0",
"description": "MCP server for Open Food Facts API v2",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"typecheck": "tsc --noEmit",
"validate": "npm run typecheck && npm run lint && npm run test:ci"
},
"keywords": ["mcp", "open-food-facts", "food", "nutrition", "api"],
"author": "",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"axios": "^1.7.0",
"zod": "^3.23.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"axios-mock-adapter": "^1.22.0",
"eslint": "^9.0.0",
"jest": "^29.7.0",
"nock": "^13.5.0",
"ts-jest": "^29.1.0",
"tsx": "^4.19.0",
"typescript": "^5.6.0"
},
"engines": {
"node": ">=18.0.0"
}
}