{
  "name": "spoiled",
  "description": "Realistic animated <Spoiler /> component for React",
  "version": "0.5.1",
  "type": "module",
  "license": "Unlicense",
  "main": "esm/index.js",
  "exports": {
    ".": {
      "types": "./esm/index.d.ts",
      "default": "./esm/index.js"
    },
    "./no-css": {
      "types": "./esm/index_unstyled.d.ts",
      "default": "./esm/index_unstyled.js"
    },
    "./style.css": "./esm/style.css"
  },
  "typesVersions": {
    "*": {
      ".": [
        "esm/index.d.ts"
      ],
      "no-css": [
        "esm/index_unstyled.d.ts"
      ]
    }
  },
  "types": "esm/index.d.ts",
  "files": [
    "esm",
    "src",
    "README.md"
  ],
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build",
    "bundle": "BUNDLE_LIBRARY=1 vite build",
    "preview": "vite preview",
    "test": "vitest",
    "prepublishOnly": "tsc && npm run bundle"
  },
  "peerDependencies": {
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "devDependencies": {
    "@tailwindcss/postcss": "^4.1.17",
    "@tailwindcss/typography": "^0.5.19",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/node": "^24.10.1",
    "@types/react": "^19.2.5",
    "@types/react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^5.1.1",
    "autoprefixer": "^10.4.22",
    "clsx": "^2.1.1",
    "gif.js": "^0.2.0",
    "happy-dom": "^20.0.10",
    "postcss": "^8.5.6",
    "prettier": "^3.6.2",
    "prettier-plugin-tailwindcss": "^0.7.1",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",
    "react-github-btn": "^1.4.0",
    "rollup-preserve-directives": "^1.1.3",
    "sugar-high": "^0.9.5",
    "tailwindcss": "^4.1.17",
    "typescript": "^5.9.3",
    "vite": "^7.2.2",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^4.0.9"
  },
  "dependencies": {
    "colord": "^2.9.3"
  },
  "postcss": {
    "plugins": {
      "@tailwindcss/postcss": {
        "config": "./web/tailwind.config.js"
      },
      "autoprefixer": {}
    }
  }
}
