{
  "name": "@the-portland-company/shell",
  "version": "0.106.0",
  "description": "Shared chrome (header, sidebar, footer, theme, auth) for politogy apps. Drop into any Vite SPA to inherit the politogy look and signed-in user.",
  "license": "UNLICENSED",
  "private": false,
  "publishConfig": {
    "access": "public"
  },
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./css": {
      "types": "./dist/css-modules.d.ts",
      "default": "./dist/view-transitions.css"
    },
    "./chrome.css": {
      "types": "./dist/css-modules.d.ts",
      "default": "./dist/chrome.css"
    },
    "./native": {
      "types": "./dist/native.d.ts",
      "import": "./dist/native.js",
      "require": "./dist/native.cjs"
    },
    "./sw": "./dist/shell-precache.worker.js",
    "./theme-preference": {
      "types": "./dist/theme-preference.d.ts",
      "import": "./dist/theme-preference.js",
      "require": "./dist/theme-preference.cjs"
    },
    "./nav-preference": {
      "types": "./dist/nav-preference.d.ts",
      "import": "./dist/nav-preference.js",
      "require": "./dist/nav-preference.cjs"
    },
    "./active-org": {
      "types": "./dist/active-org.d.ts",
      "import": "./dist/active-org.js",
      "require": "./dist/active-org.cjs"
    },
    "./logout-signal": {
      "types": "./dist/logout-signal.d.ts",
      "import": "./dist/logout-signal.js",
      "require": "./dist/logout-signal.cjs"
    },
    "./url-state": {
      "types": "./dist/url-state.d.ts",
      "import": "./dist/url-state.js",
      "require": "./dist/url-state.cjs"
    },
    "./app-chrome": {
      "types": "./dist/app-chrome.d.ts",
      "import": "./dist/app-chrome.js",
      "require": "./dist/app-chrome.cjs"
    },
    "./app-icons": {
      "types": "./dist/app-icons.d.ts",
      "import": "./dist/app-icons.js",
      "require": "./dist/app-icons.cjs"
    },
    "./runtime-tokens": {
      "types": "./dist/runtime-tokens.d.ts",
      "import": "./dist/runtime-tokens.js",
      "require": "./dist/runtime-tokens.cjs"
    },
    "./brand-favicon": {
      "types": "./dist/brand-favicon.d.ts",
      "import": "./dist/brand-favicon.js",
      "require": "./dist/brand-favicon.cjs"
    }
  },
  "files": [
    "dist",
    "bin",
    "README.md",
    "CHANGELOG.md"
  ],
  "sideEffects": [
    "*.css"
  ],
  "scripts": {
    "gen:tokens": "node scripts/gen-tokens.mjs",
    "build": "tsup && node scripts/postbuild-use-client.mjs && cp src/css-modules.d.ts dist/css-modules.d.ts",
    "dev": "tsup --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "type-check": "tsc --noEmit",
    "prepublishOnly": "npm run type-check && npx --yes audit-ci@^7 --config audit-ci.json && npm run test && npm run build",
    "gitleaks": "gitleaks git --redact --verbose --log-opts=\"--all\" .",
    "prepare": "git config core.hooksPath .husky"
  },
  "dependencies": {
    "clsx": "^2.1.0",
    "modern-screenshot": "^4.7.0"
  },
  "peerDependencies": {
    "@chakra-ui/react": "^2.8.0",
    "@emotion/react": "^11.11.0",
    "@emotion/styled": "^11.11.0",
    "@supabase/supabase-js": ">=2.95.3 <3",
    "@the-portland-company/devnotes": ">=0.6.6",
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0",
    "react-icons": "^4.0.0 || ^5.0.0",
    "react-router-dom": "^6.0.0 || ^7.0.0"
  },
  "peerDependenciesMeta": {
    "@chakra-ui/react": {
      "optional": true
    },
    "@emotion/react": {
      "optional": true
    },
    "@emotion/styled": {
      "optional": true
    },
    "@supabase/supabase-js": {
      "optional": true
    },
    "react-icons": {
      "optional": true
    },
    "react-router-dom": {
      "optional": true
    },
    "@the-portland-company/devnotes": {
      "optional": true
    }
  },
  "devDependencies": {
    "@chakra-ui/react": "^2.8.2",
    "@emotion/react": "^11.11.1",
    "@emotion/styled": "^11.11.0",
    "@supabase/supabase-js": "~2.95.3",
    "@testing-library/jest-dom": "^6.5.0",
    "@testing-library/react": "^16.0.0",
    "@testing-library/user-event": "^14.6.1",
    "@the-portland-company/devnotes": "^0.6.19",
    "@types/node": "~22.10.0",
    "@types/react": "^18.3.0",
    "@types/react-dom": "^18.3.0",
    "jsdom": "^25.0.0",
    "react": "^18.3.0",
    "react-dom": "^18.3.0",
    "react-icons": "^5.6.0",
    "react-router-dom": "^6.30.0",
    "tsup": "^8.3.0",
    "typescript": "~5.7.0",
    "vitest": "^4.1.12"
  },
  "overrides": {
    "nanoid": "^3.3.18"
  },
  "bin": {
    "shell-version-check": "./bin/shell-version-check.mjs"
  }
}
