2022-03-31 08:45:47 +00:00
|
|
|
{
|
|
|
|
"name": "@calcom/embed-core",
|
2022-04-15 17:55:36 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "This is the vanilla JS core script that embeds Cal Link",
|
2022-03-31 08:45:47 +00:00
|
|
|
"main": "./index.ts",
|
|
|
|
"scripts": {
|
2022-05-06 15:56:26 +00:00
|
|
|
"__build": "yarn tailwind && vite build",
|
|
|
|
"__dev": "yarn __build --mode development",
|
|
|
|
"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'",
|
2022-05-05 14:29:49 +00:00
|
|
|
"dev": "yarn tailwind && run-p 'tailwind --watch' 'buildWatchAndServer'",
|
|
|
|
"dev-real": "vite dev --port 3100",
|
2022-03-31 08:45:47 +00:00
|
|
|
"type-check": "tsc --pretty --noEmit",
|
2022-04-04 15:44:04 +00:00
|
|
|
"lint": "eslint --ext .ts,.js src",
|
2022-04-25 04:33:00 +00:00
|
|
|
"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": {}
|
|
|
|
}
|
2022-03-31 08:45:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-25 04:33:00 +00:00
|
|
|
"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"
|
2022-03-31 08:45:47 +00:00
|
|
|
}
|
|
|
|
}
|