package.json•2.19 kB
{
"name": "mac-commander",
"version": "0.1.0",
"description": "MCP server for interacting with macOS applications - screenshots, UI automation, and error detection",
"private": true,
"type": "module",
"bin": {
"mac-commander": "./build/index.js"
},
"files": [
"build"
],
"scripts": {
"build": "tsc && chmod +x build/index.js",
"clean": "rm -rf build coverage",
"dev": "tsc --watch",
"dev:run": "tsx watch src/index.ts",
"start": "node build/index.js",
"prepare": "npm run build",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write 'src/**/*.{ts,tsx,json,md}'",
"format:check": "prettier --check 'src/**/*.{ts,tsx,json,md}'",
"typecheck": "tsc --project tsconfig.build.json --noEmit",
"pretest": "npm run lint && npm run typecheck",
"ci": "npm run lint && npm run typecheck && npm run test:coverage"
},
"keywords": [
"mcp",
"macos",
"automation",
"screenshot",
"ui-testing"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ohqay/mac-commander.git"
},
"bugs": {
"url": "https://github.com/ohqay/mac-commander/issues"
},
"homepage": "https://github.com/ohqay/mac-commander#readme",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"@nut-tree-fork/nut-js": "^4.2.6",
"@types/uuid": "^10.0.0",
"canvas": "^3.1.0",
"sharp": "^0.33.5",
"tesseract.js": "^6.0.1",
"zod": "^3.25.62",
"zod-to-json-schema": "^3.24.5"
},
"devDependencies": {
"@types/node": "^24.0.1",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"typescript": "^5.8.3",
"vitest": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.57.0",
"prettier": "^3.3.3",
"tsx": "^4.20.3",
"ts-node": "^10.9.2"
}
}