* feat: upgrade typescript to 5.8.3 Co-Authored-By: joe@cal.com <joe@cal.com> * chore: fix TypeScript 5.8.3 compatibility issues Co-Authored-By: joe@cal.com <joe@cal.com> * Uncomment `optmizeImage` * Type fix * Type fix --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: joe@cal.com <joe@cal.com> Co-authored-by: Joe <j.auyeung419@gmail.com>
83 lines
2.3 KiB
JSON
83 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-npm": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
|
|
},
|
|
"dependencies": {
|
|
"@calcom/features": "*",
|
|
"@calcom/lib": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.3.1",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"typescript": "^5.8.3",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|