package.json•3.17 kB
{
"name": "shortcut-mcp",
"version": "1.0.0",
"description": "A Model Context Protocol (MCP) server that enables Large Language Models to interact with macOS Shortcuts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"shortcut-mcp": "dist/index.js"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"build:dev": "tsc --sourceMap",
"build:prod": "tsc --declaration",
"start": "node dist/index.js",
"dev": "nodemon --exec ts-node src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:integration": "jest --testPathPattern=integration",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"clean": "rimraf dist",
"prepublishOnly": "npm run clean && npm run build:prod",
"docs:generate": "typedoc --out docs/api src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aezizhu/shortcut-mcp.git"
},
"keywords": [
"mcp",
"model-context-protocol",
"shortcuts",
"macos",
"automation",
"llm",
"ai",
"assistant"
],
"author": "aezi zhu <aezi@example.com>",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"os": [
"darwin"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"commander": "^11.1.0",
"debug": "^4.3.4",
"joi": "^17.12.0",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.4",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.4",
"typescript": "^5.3.2"
},
"files": [
"dist/",
"README.md",
"LICENSE",
"docs/"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/index.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "warn"
},
"env": {
"node": true,
"es2022": true
}
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2
}
}