46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "@calcom/embed-react",
|
|
"version": "1.0.5",
|
|
"description": "Embed Cal Link as a React Component",
|
|
"scripts": {
|
|
"dev": "vite --port=3101 --open",
|
|
"tsc": "tsc",
|
|
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
|
|
"preview": "vite preview",
|
|
"prepare": "yarn build",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"lint": "eslint --ext .ts,.js,.tsx,.jsx ./src",
|
|
"embed-tests": "yarn playwright test --config=./playwright/config/playwright.config.ts",
|
|
"embed-tests-quick": "QUICK=true yarn embed-tests",
|
|
"publish-prod": "npm version patch && npm publish --access public",
|
|
"publish-beta": "npm version prepatch && npm publish --access public --tag beta"
|
|
},
|
|
"main": "./dist/Cal.umd.js",
|
|
"module": "./dist/Cal.es.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"peerDependencies": {
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/Cal.es.js",
|
|
"require": "./dist/Cal.umd.js"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@calcom/embed-snippet": "^1.0.0",
|
|
"@types/react": "18.0.9",
|
|
"@types/react-dom": "18.0.4",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"eslint": "^8.15.0",
|
|
"vite": "^2.9.9"
|
|
},
|
|
"dependencies": {
|
|
"typescript": "^4.6.4"
|
|
}
|
|
}
|