Skip to content

The Open Standard for Generative UI

1.9 KB
Raw Blame
{
  "name": "@openuidev/browser-bundle",
  "version": "0.2.1",
  "description": "Prebuilt IIFE browser bundle of @openuidev/react-lang + @openuidev/react-ui for iframe, CDN, and no-build-pipeline embedding (Open WebUI tools, chatbots, widgets, etc.)",
  "license": "MIT",
  "type": "module",
  "sideEffects": true,
  "files": [
    "dist",
    "README.md"
  ],
  "exports": {
    ".": "./dist/openui-bundle.min.js",
    "./styles.css": "./dist/openui-styles.css",
    "./package.json": "./package.json"
  },
  "scripts": {
    "build": "rimraf dist && esbuild src/entry.js --bundle --format=iife --minify --outfile=dist/openui-bundle.min.js --define:process.env.NODE_ENV=\\\"production\\\" --target=es2020 && node scripts/concat-css.mjs",
    "typecheck": "echo \"(no types to check — IIFE bundle)\"",
    "lint:check": "eslint ./src",
    "lint:fix": "eslint ./src --fix",
    "format:fix": "prettier --write ./src",
    "format:check": "prettier --check ./src",
    "prepare": "pnpm run build",
    "ci": "pnpm run lint:check && pnpm run format:check"
  },
  "keywords": [
    "openui",
    "generative-ui",
    "react",
    "ai",
    "llm",
    "browser",
    "iife",
    "cdn",
    "bundle",
    "iframe",
    "embed",
    "no-build",
    "open-webui"
  ],
  "homepage": "https://openui.com",
  "author": "[email protected]",
  "repository": {
    "type": "git",
    "url": "https://github.com/thesysdev/openui.git",
    "directory": "packages/browser-bundle"
  },
  "bugs": {
    "url": "https://github.com/thesysdev/openui/issues"
  },
  "//": "openuidev deps are inlined into the IIFE at build time, but stay runtime dependencies (not devDependencies) on purpose: changesets cascade-releases this bundle when react-lang/react-ui release.",
  "dependencies": {
    "@openuidev/react-lang": "workspace:^",
    "@openuidev/react-ui": "workspace:^",
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  },
  "devDependencies": {
    "esbuild": "^0.25.12",
    "rimraf": "^5.0.7"
  }
}