cal.pub0.org/packages/embeds/embed-core/package.json

40 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": "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 ",
"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",
"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"
}
}