{
  "name": "feynjs",
  "version": "0.10.3",
  "description": "A JavaScript engine for Feynman diagrams: written as text, laid out automatically, drawn as SVG for the web and Markdown, and as TikZ-Feynman for LaTeX.",
  "keywords": [
    "feynman",
    "feynman-diagram",
    "physics",
    "particle-physics",
    "hep",
    "svg",
    "diagram",
    "tikz-feynman",
    "madgraph",
    "feynman-diagrams",
    "markdown",
    "latex",
    "tikz",
    "obsidian",
    "mkdocs",
    "zensical",
    "visualization"
  ],
  "license": "MIT",
  "author": "Jason Oliver",
  "homepage": "https://hepjs.github.io/feynjs/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hepjs/feynjs.git"
  },
  "bugs": {
    "url": "https://github.com/hepjs/feynjs/issues"
  },
  "type": "module",
  "sideEffects": false,
  "main": "dist/feynjs.mjs",
  "module": "dist/feynjs.mjs",
  "browser": "dist/feynjs.min.js",
  "unpkg": "dist/feynjs.min.js",
  "jsdelivr": "dist/feynjs.min.js",
  "exports": {
    ".": "./dist/feynjs.mjs",
    "./tikz": "./dist/feynjs-tikz.mjs",
    "./dist/*": "./dist/*"
  },
  "files": [
    "dist",
    "bin",
    "LICENSE.md",
    "THIRD-PARTY.md"
  ],
  "bin": {
    "feynjs": "bin/feynjs.mjs"
  },
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "node scripts/build.mjs",
    "test": "node --test test/*.test.ts",
    "typecheck": "tsc --noEmit",
    "approve-layouts": "node scripts/approve-layouts.mjs",
    "docs": "npm run build && node scripts/forces-reference.mjs && zensical build",
    "docs:reference": "node scripts/forces-reference.mjs",
    "prepublishOnly": "npm run typecheck && npm test && npm run build",
    "test:unit": "node --test test/feynjs.test.ts",
    "test:layouts": "node --test test/layout-baseline.test.ts"
  },
  "devDependencies": {
    "@resvg/resvg-js": "^2.6.2",
    "@types/node": "^26.6.6",
    "esbuild": "^0.25.0",
    "typescript": "^5.6.0"
  },
  "contributors": [
    "Pengxuan Zhu (https://orcid.org/0000-0003-2039-5794)"
  ]
}
