* chore: Fix build failure due to trpc inference depth * Also bump platform libraries typescript version * fix: e2e test using unassigned variable * chore: bump libraries to 0.0.142 --------- Co-authored-by: Morgan Vernay <morgan@cal.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 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",
|
|
"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": {
|
|
"./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"
|
|
},
|
|
"./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"
|
|
]
|
|
}
|
|
}
|
|
}
|