Skip to content

The Open Standard for Generative UI

1.6 KB
Raw Blame
{
  "name": "@openuidev/react-email",
  "version": "0.4.0",
  "description": "React Email components for OpenUI — 44 email building blocks with defineComponent",
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.mjs",
  "types": "dist/index.d.cts",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "files": [
    "dist",
    "README.md"
  ],
  "scripts": {
    "build": "tsdown",
    "dev": "tsdown --watch",
    "typecheck": "tsc --noEmit",
    "lint": "eslint",
    "lint:check": "eslint ./src",
    "lint:fix": "eslint ./src --fix",
    "format:fix": "prettier --write ./src",
    "format:check": "prettier --check ./src",
    "check:publint": "publint",
    "check:attw": "attw --pack .",
    "prepare": "pnpm run build",
    "prepublishOnly": "pnpm run check:publint && pnpm run check:attw",
    "ci": "pnpm run lint:check && pnpm run format:check"
  },
  "dependencies": {
    "@react-email/components": "^0.0.41"
  },
  "peerDependencies": {
    "@openuidev/react-lang": ">=1.0.0 <2.0.0",
    "react": "catalog:",
    "react-dom": "catalog:",
    "zod": "catalog:"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/thesysdev/openui",
    "directory": "packages/react-email"
  },
  "devDependencies": {
    "@openuidev/react-lang": "workspace:^",
    "@types/react": "catalog:",
    "typescript": "catalog:"
  }
}