package.json•2.42 kB
{
"name": "mcp-huggingfetch",
"version": "1.2.1",
"description": "Pure Node.js MCP server for downloading HuggingFace models with enhanced HTTP API and smart filtering",
"author": "MCP HuggingFetch Contributors",
"license": "MIT",
"homepage": "https://github.com/freefish1218/mcp-huggingfetch",
"repository": {
"type": "git",
"url": "git+https://github.com/freefish1218/mcp-huggingfetch.git"
},
"bugs": {
"url": "https://github.com/freefish1218/mcp-huggingfetch/issues"
},
"keywords": [
"mcp",
"huggingface",
"ai",
"models",
"download",
"cli",
"server"
],
"main": "src/index.js",
"bin": {
"mcp-huggingfetch": "bin/cli.js"
},
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js",
"release": "./scripts/release.sh",
"release:patch": "./scripts/release.sh patch",
"release:minor": "./scripts/release.sh minor",
"release:major": "./scripts/release.sh major",
"prepublishOnly": "npm test && npm run lint",
"test": "jest",
"test:watch": "jest --watch",
"test:basic": "node tests/basic.test.js",
"test:diagnose": "node scripts/diagnose-mcp.js",
"setup:claude": "node scripts/setup-claude-code.js",
"lint": "eslint src/ bin/",
"lint:fix": "eslint src/ bin/ --fix",
"build": "pkg package.json",
"build:all": "pkg package.json --targets node18-linux-x64,node18-macos-x64,node18-win-x64",
"prepare": "npm run lint"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"axios": "^1.6.0",
"fs-extra": "^11.1.1",
"winston": "^3.11.0",
"joi": "^17.11.0",
"progress": "^2.0.3",
"mime-types": "^2.1.35"
},
"devDependencies": {
"jest": "^29.7.0",
"eslint": "^8.54.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-promise": "^6.1.1",
"pkg": "^5.8.1"
},
"files": [
"src/",
"bin/",
"README.md",
"LICENSE"
],
"pkg": {
"scripts": "src/**/*.js",
"targets": [
"node18-linux-x64",
"node18-macos-x64",
"node18-win-x64"
],
"outputPath": "dist"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.jest.test.js",
"**/tests/**/config.test.js"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*.test.js"
]
}
}