Files
calendar/packages/platform/libraries/package.json
T
4ad1127184 refactor: extract schedules from libraries barrel file (#19838)
* refactor: extract schedules from libraries barrel file

* cleanup: remove functions not being used by schedules

* fix tsconfig ]

* bump platform libs

* bump platform libs

---------

Co-authored-by: Morgan Vernay <morgan@cal.com>
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
2025-03-11 19:07:06 +00:00

84 lines
2.3 KiB
JSON

{
"name": "@calcom/platform-libraries",
"version": "0.0.0",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"scripts": {
"build": "yarn vite build",
"build:watch": "yarn vite build --watch",
"watch-lru-fix": "watch -n 1 'sed -i'' -e \"s/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g\" ./dist/index.cjs'",
"build:dev": "yarn vite build && sed -i'' -e 's/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g' ./dist/index.cjs",
"local": "node scripts/local.js && rm -rf dist && yarn build:dev && cd ../../.. && yarn",
"publish": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public",
"postpublish": "node scripts/postpublish.js"
},
"dependencies": {
"@calcom/features": "*",
"@calcom/lib": "*"
},
"devDependencies": {
"@types/node": "^20.3.1",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.8.2",
"vite": "^5.0.12",
"vite-plugin-dts": "^3.7.2",
"vite-plugin-environment": "^1.1.3"
},
"exports": {
"./app-store": {
"import": "./dist/app-store.js",
"require": "./dist/app-store.cjs",
"types": "./dist/app-store.d.ts"
},
"./event-types": {
"import": "./dist/event-types.js",
"require": "./dist/event-types.cjs",
"types": "./dist/event-types.d.ts"
},
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./schedules": {
"import": "./dist/schedules.js",
"require": "./dist/schedules.cjs",
"types": "./dist/schedules.d.ts"
},
"./emails": {
"import": "./dist/emails.js",
"require": "./dist/emails.cjs",
"types": "./dist/emails.d.ts"
},
"./slots": {
"import": "./dist/slots.js",
"require": "./dist/slots.cjs",
"types": "./dist/slots.d.ts"
}
},
"typesVersions": {
"*": {
"event-types": [
"dist/event-types.d.ts"
],
"slots": [
"dist/slots.d.ts"
],
"emails": [
"dist/emails.d.ts"
],
"app-store": [
"dist/app-store.d.ts"
],
"schedules": [
"dist/schedules.d.ts"
]
}
}
}