{
  "name": "@qcqx/lattice-web",
  "version": "1.16.0",
  "description": "Lattice 可视化前端",
  "type": "module",
  "main": "./dist/server/index.js",
  "types": "./dist/server/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/server/index.d.ts",
        "default": "./dist/server/index.js"
      }
    }
  },
  "license": "MIT",
  "files": [
    "dist",
    "ensure-node-pty.mjs"
  ],
  "engines": {
    "node": ">=20.19"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@ant-design/icons": "^6.0.0",
    "@codemirror/lang-markdown": "^6.5.1",
    "@codemirror/lang-yaml": "^6.1.3",
    "@dagrejs/dagre": "^1.1.0",
    "@fastify/cors": "^10.0.0",
    "@fastify/static": "^8.0.0",
    "@fastify/type-provider-typebox": "^5.0.0",
    "@fastify/websocket": "^11.0.0",
    "@sinclair/typebox": "^0.34.0",
    "@tanstack/react-query": "^5.0.0",
    "@tanstack/react-table": "^8.0.0",
    "@tanstack/react-virtual": "^3.14.0",
    "@uiw/react-codemirror": "^4.25.11",
    "@xterm/addon-fit": "^0.10.0",
    "@xterm/addon-web-links": "^0.11.0",
    "@xterm/xterm": "^5.5.0",
    "@xyflow/react": "^12.0.0",
    "antd": "^6.0.0",
    "cytoscape": "^3.34.0",
    "cytoscape-cose-bilkent": "^4.1.0",
    "cytoscape-fcose": "^2.2.0",
    "dayjs": "^1.11.0",
    "fastify": "^5.9.0",
    "graphology": "^0.26.0",
    "graphology-layout-forceatlas2": "^0.10.1",
    "graphology-layout-noverlap": "^0.4.2",
    "less": "^4.2.0",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",
    "react-markdown": "^9.0.0",
    "react-router": "^8.0.0",
    "rehype-highlight": "^7.0.0",
    "rehype-raw": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "valtio": "^2.0.0",
    "@qcqx/lattice-core": "1.16.0"
  },
  "optionalDependencies": {
    "@homebridge/node-pty-prebuilt-multiarch": "^0.11.14"
  },
  "devDependencies": {
    "@types/node": "^22.15.0",
    "@types/react": "^19.2.0",
    "@types/react-dom": "^19.2.0",
    "@vitejs/plugin-react": "^6.0.0",
    "concurrently": "^9.1.0",
    "tsup": "^8.5.0",
    "tsx": "^4.19.0",
    "typescript": "^5.8.0",
    "vite": "^8.1.0"
  },
  "scripts": {
    "postinstall": "node ensure-node-pty.mjs",
    "dev": "concurrently \"vite\" \"LATTICE_WEB_NO_OPEN=1 tsx watch src/server/index.ts\"",
    "dev:client": "vite",
    "dev:server": "LATTICE_WEB_NO_OPEN=1 tsx watch src/server/index.ts",
    "build": "vite build && tsup",
    "build:client": "vite build",
    "build:server": "tsup",
    "check-types": "tsc --noEmit",
    "clean": "rm -rf dist"
  }
}