pcbjam/web/backend/package.json
Gergő Törcsvári c2e1214fd1
feat: GPL backend self-provisions example libs + standalone port override
Port the KiCad symbol/footprint brace-scanner parsers + a combined extractor
into web/backend/src/extract/; ensure-example-libs blobless/sparse-clones a
curated KiCad 10.0.3 slice and extracts to a gitignored .libs/ on dev/start, so
a bare GPL clone has libraries with no closed repo present. libsConfig() defaults
LIBS_DIR to ./.libs. vite honors STANDALONE_PORT (strictPort) so a second editor
can run on :3049 alongside the closed stack.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 16:28:21 +02:00

25 lines
772 B
JSON

{
"name": "@pcbjam/backend-example",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx src/extract/ensure-example-libs.ts && tsx watch src/server.ts",
"start": "tsx src/extract/ensure-example-libs.ts && tsx src/server.ts",
"ensure-libs": "tsx src/extract/ensure-example-libs.ts",
"extract-libs": "tsx src/extract/extract-libs.ts",
"build": "tsc -p tsconfig.json --noEmit false --declaration false --outDir dist",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@fastify/cors": "^9.0.1",
"@pcbjam/shared": "workspace:*",
"@ts-rest/fastify": "^3.52.1",
"fastify": "^4.29.0"
},
"devDependencies": {
"@types/node": "^22.10.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
}
}