Add package.json and npm install instructions

Adds bin entry so kicad-query is available as a global command
after npm install -g. Also marks the script executable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 23:32:29 +00:00
parent 068d5da12b
commit 5f4dc206b7
3 changed files with 28 additions and 2 deletions

15
package.json Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "claude-kicad-helper",
"version": "1.0.0",
"description": "Query tool for KiCad schematics and PCB files — extracts components, nets and trace routing without the noise",
"type": "module",
"bin": {
"kicad-query": "./kicad-query.mjs"
},
"engines": {
"node": ">=18"
},
"keywords": ["kicad", "eda", "pcb", "schematic", "electronics"],
"author": "mikael-lovqvists-claude-agent",
"license": "MIT"
}