2022-03-31 08:45:47 +00:00
|
|
|
{
|
|
|
|
"name": "@calcom/embed-core",
|
2023-05-30 03:30:52 +00:00
|
|
|
"version": "1.2.1",
|
2022-04-15 17:55:36 +00:00
|
|
|
"description": "This is the vanilla JS core script that embeds Cal Link",
|
2022-05-27 15:37:02 +00:00
|
|
|
"main": "./dist/embed/embed.js",
|
|
|
|
"types": "./dist/index.d.ts",
|
2022-06-07 08:25:55 +00:00
|
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/calcom/cal.com",
|
|
|
|
"directory": "packages/embeds/embed-core"
|
|
|
|
},
|
2022-03-31 08:45:47 +00:00
|
|
|
"scripts": {
|
2022-05-30 17:11:05 +00:00
|
|
|
"embed-dev": "yarn workspace @calcom/embed-core dev",
|
|
|
|
"embed-web-start": "yarn workspace @calcom/web start",
|
2022-06-05 19:53:14 +00:00
|
|
|
"__build": "yarn tailwind && vite build && tsc --emitDeclarationOnly --declarationDir dist && cp -r ../../../apps/web/public/embed ./dist/",
|
2023-03-10 23:59:58 +00:00
|
|
|
"__dev": "yarn tailwind && vite build --mode development",
|
2022-05-06 15:56:26 +00:00
|
|
|
"build": "NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) yarn __build",
|
|
|
|
"build-preview": "PREVIEW_BUILD=1 yarn __build ",
|
2022-03-31 08:45:47 +00:00
|
|
|
"vite": "vite",
|
2022-05-05 14:29:49 +00:00
|
|
|
"tailwind": "yarn tailwindcss -i ./src/styles.css -o ./src/tailwind.generated.css",
|
2022-05-06 15:56:26 +00:00
|
|
|
"buildWatchAndServer": "run-p '__dev' 'vite --port 3100 --strict-port --open'",
|
2023-03-10 23:59:58 +00:00
|
|
|
"dev": "yarn tailwind && run-p 'tailwind --watch' 'buildWatchAndServer'",
|
2022-05-05 14:29:49 +00:00
|
|
|
"dev-real": "vite dev --port 3100",
|
2022-03-31 08:45:47 +00:00
|
|
|
"type-check": "tsc --pretty --noEmit",
|
2023-03-28 20:12:40 +00:00
|
|
|
"type-check:ci": "tsc-absolute --pretty --noEmit",
|
2022-04-04 15:44:04 +00:00
|
|
|
"lint": "eslint --ext .ts,.js src",
|
2023-02-16 22:39:57 +00:00
|
|
|
"lint:fix": "eslint --ext .ts,.js src --fix",
|
2022-04-25 04:33:00 +00:00
|
|
|
"embed-tests": "yarn playwright test --config=playwright/config/playwright.config.ts",
|
2022-05-27 15:37:02 +00:00
|
|
|
"embed-tests-quick": "QUICK=true yarn embed-tests",
|
2022-05-30 17:11:05 +00:00
|
|
|
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
|
2023-05-13 08:22:31 +00:00
|
|
|
"prepack": "NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
|
2022-07-07 06:00:48 +00:00
|
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf ../../../apps/web/public/embed"
|
2022-04-25 04:33:00 +00:00
|
|
|
},
|
2022-05-27 15:37:02 +00:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-04-25 04:33:00 +00:00
|
|
|
"postcss": {
|
|
|
|
"map": false,
|
|
|
|
"plugins": {
|
|
|
|
"tailwindcss": {},
|
|
|
|
"autoprefixer": {}
|
|
|
|
}
|
2022-03-31 08:45:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-03-15 22:01:04 +00:00
|
|
|
"@playwright/test": "^1.31.2",
|
2022-11-04 19:15:12 +00:00
|
|
|
"autoprefixer": "^10.4.12",
|
2022-06-22 20:41:19 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2022-11-04 19:15:12 +00:00
|
|
|
"postcss": "^8.4.18",
|
2023-01-27 01:50:56 +00:00
|
|
|
"tailwindcss": "^3.2.1",
|
|
|
|
"typescript": "^4.9.4",
|
2023-02-20 17:50:40 +00:00
|
|
|
"vite": "^4.1.2"
|
2022-08-17 17:38:21 +00:00
|
|
|
}
|
2022-03-31 08:45:47 +00:00
|
|
|
}
|