{
    "name": "@buildwithlayer/embeddable-widget",
    "private": false,
    "version": "0.1.17",
    "description": "Embeddable Chat Widget using Layer APIs",
    "repository": "git+https://github.com/buildwithlayer/embeddable-widget.git",
    "keywords": [
        "embeddable",
        "chat",
        "widget"
    ],
    "author": "Layer",
    "license": "ISC",
    "type": "module",
    "scripts": {
        "dev": "vite",
        "build:component": "tsc -b ./tsconfig.lib.json && vite build --mode component",
        "build:bundle": "tsc -b ./tsconfig.lib.json && vite build --mode bundle",
        "lint": "eslint .",
        "preview": "vite preview",
        "preview:component": "export $(cat .env | xargs) && yarn build:component && yarn unlink \"@buildwithlayer/embeddable-widget\" && yarn link && cd ./component-test-app && yarn link @buildwithlayer/embeddable-widget && VITE_API_KEY=$VITE_API_KEY yarn && VITE_API_KEY=$VITE_API_KEY yarn dev",
        "preview:bundle": "yarn build:bundle && yarn preview",
        "prepublishOnly": "yarn build:component",
        "upload": "node ./scripts/upload.mjs"
    },
    "dependencies": {
        "@emotion/css": "^11.13.4",
        "@emotion/react": "^11.13.3",
        "@emotion/styled": "^11.13.0",
        "@google-cloud/storage": "^7.14.0",
        "@mui/material": "^6.1.5",
        "copy-to-clipboard": "^3.3.3",
        "dotenv": "^16.4.5",
        "polished": "^4.3.1",
        "react": "^18.3.1",
        "react-dom": "^18.3.1",
        "react-markdown": "^9.0.1",
        "react-syntax-highlighter": "^15.6.1",
        "styled-components": "^6.1.13",
        "vite-plugin-css-injected-by-js": "^3.5.2"
    },
    "devDependencies": {
        "@eslint/js": "^9.13.0",
        "@types/css-modules": "^1.0.5",
        "@types/node": "^22.8.1",
        "@types/react": "^18.3.11",
        "@types/react-dom": "^18.3.1",
        "@types/react-syntax-highlighter": "^15.5.13",
        "@vitejs/plugin-react": "^4.3.3",
        "eslint": "^9.13.0",
        "eslint-plugin-react-hooks": "^5.0.0",
        "eslint-plugin-react-refresh": "^0.4.13",
        "glob": "^11.0.0",
        "globals": "^15.11.0",
        "typescript": "~5.6.2",
        "typescript-eslint": "^8.10.0",
        "vite": "^5.4.9",
        "vite-plugin-dts": "^4.3.0",
        "vite-plugin-lib-inject-css": "^2.1.1",
        "vite-plugin-svgr": "^4.2.0"
    },
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "files": [
        "dist"
    ],
    "sideEffects": [
        "**/*.css"
    ]
}
