{
  "name": "react-state-flow",
  "version": "0.4.2",
  "description": "Visualize React component hierarchy, state flow, and real-time render events",
  "type": "module",
  "license": "MIT",
  "bin": {
    "react-state-flow": "./dist/index.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/HoangSonDeveloper/React-State-Flow"
  },
  "homepage": "https://github.com/HoangSonDeveloper/React-State-Flow",
  "bugs": {
    "url": "https://github.com/HoangSonDeveloper/React-State-Flow/issues"
  },
  "keywords": [
    "react",
    "devtools",
    "visualization",
    "state-management",
    "redux",
    "zustand",
    "render-tracking",
    "performance",
    "graph",
    "fiber"
  ],
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./runtime": {
      "import": "./dist/runtime/index.js",
      "types": "./dist/runtime/index.d.ts"
    },
    "./runtime/register": {
      "import": "./dist/runtime/register.js",
      "types": "./dist/runtime/register.d.ts"
    },
    "./runtime/history": {
      "import": "./dist/runtime/history.js",
      "types": "./dist/runtime/history.d.ts"
    },
    "./vite": {
      "import": "./dist/vite.js",
      "types": "./dist/vite.d.ts"
    }
  },
  "files": [
    "dist",
    "ui/dist"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "npm run build:ts && npm run build:ui",
    "build:ts": "tsc -p tsconfig.json",
    "build:ui": "vite build --config ui/vite.config.ts",
    "dev": "tsx src/index.ts",
    "ui:dev": "vite --config ui/vite.config.ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "@babel/parser": "^7.24.0",
    "@babel/traverse": "^7.24.0",
    "@babel/types": "^7.24.0",
    "chokidar": "^3.6.0",
    "express": "^4.19.0",
    "jsonc-parser": "^3.3.1",
    "magic-string": "^0.30.21",
    "open": "^10.1.0",
    "picocolors": "^1.0.1",
    "ws": "^8.17.0"
  },
  "peerDependencies": {
    "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
  },
  "peerDependenciesMeta": {
    "vite": {
      "optional": true
    }
  },
  "devDependencies": {
    "@dagrejs/dagre": "^1.0.0",
    "@types/babel__traverse": "^7.20.6",
    "@types/express": "^4.17.21",
    "@types/react": "^18.3.0",
    "@types/react-dom": "^18.3.0",
    "@types/ws": "^8.5.10",
    "@vitejs/plugin-react": "^4.3.0",
    "@xyflow/react": "^12.0.0",
    "react": "^18.3.0",
    "react-dom": "^18.3.0",
    "tsx": "^4.15.0",
    "typescript": "^5.4.0",
    "vite": "^5.3.0",
    "vitest": "^4.1.4"
  }
}
