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

51 lines
1.7 KiB
JSON
Raw Normal View History

2022-03-31 08:45:47 +00:00
{
"name": "@calcom/embed-react",
"version": "1.0.6",
"description": "Embed Cal Link as a React Component",
2022-03-31 08:45:47 +00:00
"scripts": {
"dev": "vite --port=3101 --open",
"tsc": "tsc",
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
2022-03-31 08:45:47 +00:00
"preview": "vite preview",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' 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",
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"embed-web-start": "yarn workspace @calcom/web start",
"embed-dev": "yarn workspace @calcom/embed-react dev"
2022-03-31 08:45:47 +00:00
},
"main": "./dist/Cal.umd.js",
"module": "./dist/Cal.es.js",
"types": "./dist/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"
}
},
2022-03-31 08:45:47 +00:00
"devDependencies": {
"@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",
"playwright": "^1.22.1",
"typescript": "^4.6.4"
},
"dependencies": {
"@calcom/embed-snippet": "1.0.1",
"@calcom/embed-core": "1.1.0"
2022-03-31 08:45:47 +00:00
}
}