Files
calendar/packages/embeds/embed-snippet/package.json
T
AnshumancanrockandGitHub 5c9a5c5729 fix: use cross-platform rimraf for build scripts (#25814)
* use cross-platform rimraf for build scripts

* fix: use cross-platform rimraf for build scripts

* fix: replace cp with npx shx cp for cross-platform compatibility

* Update schema.prisma
2026-01-12 22:56:18 +05:30

35 lines
1.2 KiB
JSON

{
"name": "@calcom/embed-snippet",
"sideEffects": false,
"version": "1.3.3",
"main": "./dist/snippet.umd.js",
"module": "./dist/snippet.es.js",
"description": "Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/calcom/cal.com",
"directory": "packages/embeds/embed-snippet"
},
"scripts": {
"build": "npx rimraf dist && vite build && tsc --emitDeclarationOnly --declarationDir dist",
"type-check": "tsc --pretty --noEmit",
"type-check:ci": "tsc-absolute --pretty --noEmit",
"lint": "biome lint src",
"withEmbedPublishEnv": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn",
"prepack": "yarn ../../../ lint --filter='@calcom/embed-snippet' && yarn withEmbedPublishEnv build",
"clean": "npx rimraf .turbo node_modules dist"
},
"files": [
"dist"
],
"types": "./dist/index.d.ts",
"devDependencies": {
"typescript": "5.9.3",
"vite": "6.4.1"
},
"dependencies": {
"@calcom/embed-core": "workspace:*"
}
}