
* Add support to dynamically change the theme * Add Embed UI in app * Update UI as per Figma * Dynamicaly update Embed Code * Get differnet modes working in preview * Support Embed on EventType Edit, Team Link Fix and Mobile unsupported * Fix auto theme switch in Embed Snippet generator * Fix types * Self Review fixes * Remove Embed from App section * Move get query after the middleware to let middleware work on it * Add sandboxes in the document * Add error handling for embed loading * Fix types * Update snapshots and fix bug identified by tests * UI Fixes * Add Embed Tests * Respond in preview to width and height Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@calcom/embed-react",
|
|
"version": "1.0.2",
|
|
"description": "Embed Cal Link as a React Component",
|
|
"scripts": {
|
|
"dev": "vite --port=3101 --open",
|
|
"tsc": "tsc",
|
|
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
|
|
"preview": "vite preview",
|
|
"prepare": "yarn build",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"lint": "eslint --ext .ts,.js,.tsx,.jsx ./src",
|
|
"embed-tests": "yarn playwright test --config=./playwright/config/playwright.config.ts",
|
|
"embed-tests-quick": "QUICK=true yarn embed-tests"
|
|
},
|
|
"main": "./dist/Cal.umd.js",
|
|
"module": "./dist/Cal.es.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"peerDependencies": {
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/Cal.es.js",
|
|
"require": "./dist/Cal.umd.js"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@calcom/embed-snippet": "^1.0.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@vitejs/plugin-react": "^1.3.0",
|
|
"eslint": "^8.10.0",
|
|
"vite": "^2.9.5"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.21.1",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|