56 lines
2.1 KiB
JSON
56 lines
2.1 KiB
JSON
{
|
|
"name": "@calcom/embed-core",
|
|
"version": "1.1.3",
|
|
"description": "This is the vanilla JS core script that embeds Cal Link",
|
|
"main": "./dist/embed/embed.js",
|
|
"types": "./dist/index.d.ts",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/calcom/cal.com",
|
|
"directory": "packages/embeds/embed-core"
|
|
},
|
|
"scripts": {
|
|
"embed-dev": "yarn workspace @calcom/embed-core dev",
|
|
"embed-web-start": "yarn workspace @calcom/web start",
|
|
"__build": "yarn tailwind && vite build && tsc --emitDeclarationOnly --declarationDir dist && cp -r ../../../apps/web/public/embed ./dist/",
|
|
"__dev": "yarn tailwind && vite build --mode development",
|
|
"build": "NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) yarn __build",
|
|
"build-preview": "PREVIEW_BUILD=1 yarn __build ",
|
|
"vite": "vite",
|
|
"tailwind": "yarn tailwindcss -i ./src/styles.css -o ./src/tailwind.generated.css",
|
|
"buildWatchAndServer": "run-p '__dev' '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",
|
|
"type-check:ci": "tsc-absolute --pretty --noEmit",
|
|
"lint": "eslint --ext .ts,.js src",
|
|
"lint:fix": "eslint --ext .ts,.js src --fix",
|
|
"embed-tests": "yarn playwright test --config=playwright/config/playwright.config.ts",
|
|
"embed-tests-quick": "QUICK=true yarn embed-tests",
|
|
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
|
|
"prepare": "NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
|
|
"publish-prod:patch": "yarn publish --access public --patch",
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf ../../../apps/web/public/embed"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"postcss": {
|
|
"map": false,
|
|
"plugins": {
|
|
"tailwindcss": {},
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.31.2",
|
|
"autoprefixer": "^10.4.12",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.18",
|
|
"tailwindcss": "^3.2.1",
|
|
"typescript": "^4.9.4",
|
|
"vite": "^4.1.2"
|
|
}
|
|
}
|