
* 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>
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "@calcom/embed-core",
|
|
"version": "1.0.0",
|
|
"description": "This is the vanilla JS core script that embeds Cal Link",
|
|
"main": "./index.ts",
|
|
"scripts": {
|
|
"build": "NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) vite build && cp dist/embed.umd.js ../../../apps/website/public/embed.js && echo 'You need to commit the newly generated embed.js in apps/website'",
|
|
"build:cal": "NEXT_PUBLIC_WEBSITE_URL='https://cal.com' yarn build",
|
|
"vite": "vite",
|
|
"tailwind": "yarn tailwindcss -i ./src/styles.css -o ./src/tailwind.generated.css",
|
|
"buildWatchAndServer": "run-p 'build --watch' 'vite --port 3100 --strict-port --open'",
|
|
"dev": "yarn tailwind && run-p 'tailwind --watch' 'buildWatchAndServer'",
|
|
"dev-real": "vite dev --port 3100",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"lint": "eslint --ext .ts,.js src",
|
|
"embed-tests": "yarn playwright test --config=playwright/config/playwright.config.ts",
|
|
"embed-tests-quick": "QUICK=true yarn embed-tests"
|
|
},
|
|
"postcss": {
|
|
"map": false,
|
|
"plugins": {
|
|
"tailwindcss": {},
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.4",
|
|
"eslint": "^8.10.0",
|
|
"postcss": "^8.4.12",
|
|
"vite": "^2.8.6"
|
|
},
|
|
"dependencies": {
|
|
"tailwindcss": "^3.0.24",
|
|
"tsc": "^2.0.4",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|