{
  "name": "@interop/was-react",
  "description": "React library for building 'Bring Your Own Everything' (BYOE) apps on Wallet Attached Storage: DID Auth login via CHAPI wallet, local-first encrypted storage, and background sync to a WAS server.",
  "version": "0.18.1",
  "type": "module",
  "scripts": {
    "build": "pnpm run clear && tsc",
    "clear": "rimraf dist/*",
    "dev": "vite",
    "fix": "eslint --fix src test && pnpm run format",
    "format": "prettier --write \"src/**/*.{ts,tsx}\" \"test/**/*.{ts,tsx}\" \"*.md\"",
    "lint": "eslint src test",
    "prepare": "pnpm run build",
    "rebuild": "pnpm run clear && pnpm run build",
    "typecheck": "tsc -p tsconfig.dev.json",
    "test": "pnpm run fix && pnpm run lint && pnpm run typecheck && pnpm run test:node && pnpm run test:browser",
    "test:browser": "playwright test",
    "test:node": "vitest run",
    "test:coverage": "vitest run --coverage"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE.md"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "react-native": "./dist/index.js",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./mui": {
      "types": "./dist/mui/index.d.ts",
      "import": "./dist/mui/index.js",
      "default": "./dist/mui/index.js"
    },
    "./dev": {
      "types": "./dist/dev/index.d.ts",
      "import": "./dist/dev/index.js",
      "default": "./dist/dev/index.js"
    }
  },
  "module": "dist/index.js",
  "browser": "dist/index.js",
  "types": "dist/index.d.ts",
  "sideEffects": false,
  "dependencies": {
    "@interop/data-integrity-core": "^8.4.0",
    "@interop/did-method-webvh": "^5.2.0",
    "@interop/ed25519-signature": "^7.1.4",
    "@interop/ezcap": "^7.4.1",
    "@interop/security-document-loader": "^10.0.0",
    "@interop/vc": "^11.0.6",
    "@interop/verifier-core": "^3.5.4",
    "@interop/wallet-core": "^0.36.1",
    "@interop/was-client": "^0.37.0",
    "@interop/webkms-client": "^14.7.1",
    "@scure/base": "^2.2.0",
    "byoe-context": "^0.3.0",
    "credential-handler-polyfill": "^4.1.0",
    "uuidv7": "^1.2.1"
  },
  "peerDependencies": {
    "@mui/icons-material": ">=9.0.0",
    "@mui/material": ">=9.0.0",
    "react": ">=19",
    "react-router": ">=8.0.0",
    "rxdb": "^17.0.0",
    "zustand": "^5.0.0"
  },
  "peerDependenciesMeta": {
    "@mui/icons-material": {
      "optional": true
    },
    "@mui/material": {
      "optional": true
    },
    "react-router": {
      "optional": true
    }
  },
  "devDependencies": {
    "@emotion/react": "^11.14.0",
    "@emotion/styled": "^11.14.1",
    "@eslint/js": "^10.0.1",
    "@mui/icons-material": "^9.0.0",
    "@mui/material": "^9.0.0",
    "@playwright/test": "^1.60.0",
    "@testing-library/react": "^16.3.0",
    "@types/node": "^26.0.1",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^6.0.0",
    "@vitest/coverage-v8": "^4.1.7",
    "eslint": "^10.4.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-react-hooks": "^6.1.1",
    "fake-indexeddb": "^6.0.0",
    "globals": "^17.6.0",
    "jsdom": "^27.0.0",
    "prettier": "^3.8.3",
    "react": "^19.2.4",
    "react-dom": "^19.2.4",
    "react-router": "^8.1.0",
    "rimraf": "^6.1.3",
    "rxdb": "^17.0.0",
    "tsx": "^4.20.0",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.59.4",
    "vite": "^8.0.14",
    "vitest": "^4.1.7",
    "was-teaching-server": "^0.21.0",
    "zustand": "^5.0.12"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "keywords": [
    "react",
    "wallet-attached-storage",
    "was",
    "chapi",
    "did-auth",
    "local-first",
    "byoe"
  ],
  "packageManager": "pnpm@11.5.0",
  "engines": {
    "node": ">=24.0"
  },
  "author": {
    "name": "Interop Alliance",
    "url": "https://github.com/interop-alliance/"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/interop-alliance/was-react.git"
  },
  "homepage": "https://github.com/interop-alliance/was-react",
  "bugs": "https://github.com/interop-alliance/was-react/issues"
}
