style: apply Prettier formatting to TS/JS/JSON/MD files
Add Prettier as a dev dependency with .prettierrc.json config and .prettierignore. Hook added via mirrors-prettier in pre-commit config. All TypeScript, JSON, Markdown, and YAML files auto-formatted. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
99
package.json
99
package.json
@@ -1,49 +1,50 @@
|
||||
{
|
||||
"name": "kicad-mcp",
|
||||
"version": "2.1.0-alpha",
|
||||
"description": "AI-assisted PCB design with KiCAD via Model Context Protocol",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build:watch": "tsc --watch",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "npm run build:watch & nodemon dist/index.js",
|
||||
"clean": "rm -rf dist",
|
||||
"rebuild": "npm run clean && npm run build",
|
||||
"test": "npm run test:ts && npm run test:py",
|
||||
"test:ts": "echo 'TypeScript tests not yet configured'",
|
||||
"test:py": "pytest tests/ -v",
|
||||
"test:coverage": "pytest tests/ --cov=python --cov-report=html --cov-report=term",
|
||||
"lint": "npm run lint:ts && npm run lint:py",
|
||||
"lint:ts": "eslint src/ || echo 'ESLint not configured'",
|
||||
"lint:py": "cd python && black . && mypy . && flake8 .",
|
||||
"format": "prettier --write 'src/**/*.ts' && black python/",
|
||||
"prepare": "npm run build",
|
||||
"pretest": "npm run build"
|
||||
},
|
||||
"keywords": [
|
||||
"kicad",
|
||||
"mcp",
|
||||
"model-context-protocol",
|
||||
"pcb-design",
|
||||
"ai",
|
||||
"claude"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.21.0",
|
||||
"dotenv": "^17.0.0",
|
||||
"express": "^5.1.0",
|
||||
"zod": "^3.25.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cfworker/json-schema": "^4.1.1",
|
||||
"@types/express": "^5.0.5",
|
||||
"@types/glob": "^8.1.0",
|
||||
"@types/node": "^20.19.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "kicad-mcp",
|
||||
"version": "2.1.0-alpha",
|
||||
"description": "AI-assisted PCB design with KiCAD via Model Context Protocol",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build:watch": "tsc --watch",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "npm run build:watch & nodemon dist/index.js",
|
||||
"clean": "rm -rf dist",
|
||||
"rebuild": "npm run clean && npm run build",
|
||||
"test": "npm run test:ts && npm run test:py",
|
||||
"test:ts": "echo 'TypeScript tests not yet configured'",
|
||||
"test:py": "pytest tests/ -v",
|
||||
"test:coverage": "pytest tests/ --cov=python --cov-report=html --cov-report=term",
|
||||
"lint": "npm run lint:ts && npm run lint:py",
|
||||
"lint:ts": "eslint src/ || echo 'ESLint not configured'",
|
||||
"lint:py": "cd python && black . && mypy . && flake8 .",
|
||||
"format": "prettier --write 'src/**/*.ts' && black python/",
|
||||
"prepare": "npm run build",
|
||||
"pretest": "npm run build"
|
||||
},
|
||||
"keywords": [
|
||||
"kicad",
|
||||
"mcp",
|
||||
"model-context-protocol",
|
||||
"pcb-design",
|
||||
"ai",
|
||||
"claude"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.21.0",
|
||||
"dotenv": "^17.0.0",
|
||||
"express": "^5.1.0",
|
||||
"zod": "^3.25.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cfworker/json-schema": "^4.1.1",
|
||||
"@types/express": "^5.0.5",
|
||||
"@types/glob": "^8.1.0",
|
||||
"@types/node": "^20.19.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"prettier": "^3.8.1",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user