Files
cal.diy/companion/package.json
T
Dhairyashil ShindeandVolnei Munhoz c8a8c37b45 fix(companion): prevent localhost URL from being baked into production extension builds (#26032)
* fix(companion): separate dev and prod build scripts to prevent localhost in production

- Add ext:build-dev and ext:build-prod scripts with clear separation
- Add BUILD_FOR_STORE flag to force production URL in store builds
- Add visual build indicators (store / dev) for clarity
- Prevent EXPO_PUBLIC_COMPANION_DEV_URL from leaking into production builds

* update commands to work for ci

* update version

---------

Co-authored-by: Volnei Munhoz <volnei@cal.com>
2025-12-18 19:19:04 +00:00

80 lines
2.9 KiB
JSON

{
"name": "cal-companion",
"displayName": "Cal.com Companion",
"version": "1.7.3",
"main": "index.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"ext:build": "wxt build",
"ext:build-prod": "BUILD_FOR_STORE=true wxt build",
"build:firefox": "wxt build -b firefox",
"build:firefox-prod": "BUILD_FOR_STORE=true wxt build -b firefox",
"build:safari": "wxt build -b safari",
"build:safari-prod": "BUILD_FOR_STORE=true wxt build -b safari",
"ext": "wxt",
"ext:zip": "wxt zip",
"ext:zip-prod": "BUILD_FOR_STORE=true wxt zip",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"prepare": "cd .. && husky companion/.husky"
},
"dependencies": {
"@expo/ui": "0.2.0-canary-20251216-3f01dbf",
"@expo/vector-icons": "^15.0.3",
"@react-native-async-storage/async-storage": "^2.1.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-segmented-control/segmented-control": "^2.5.7",
"@tanstack/react-query": "^5.62.0",
"@tanstack/react-query-persist-client": "^5.62.0",
"base64-js": "^1.5.1",
"expo": "^55.0.0-canary-20251216-3f01dbf",
"expo-auth-session": "7.0.11-canary-20251216-3f01dbf",
"expo-clipboard": "8.0.9-canary-20251216-3f01dbf",
"expo-constants": "18.1.0-canary-20251216-3f01dbf",
"expo-crypto": "15.0.9-canary-20251216-3f01dbf",
"expo-dev-client": "6.1.0-canary-20251216-3f01dbf",
"expo-device": "8.0.11-canary-20251216-3f01dbf",
"expo-glass-effect": "0.2.0-canary-20251216-3f01dbf",
"expo-linking": "8.0.11-canary-20251216-3f01dbf",
"expo-router": "7.0.0-canary-20251216-3f01dbf",
"expo-secure-store": "15.0.9-canary-20251216-3f01dbf",
"expo-status-bar": "3.0.10-canary-20251216-3f01dbf",
"expo-web-browser": "15.0.11-canary-20251216-3f01dbf",
"nativewind": "^4.2.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "^0.83.0",
"react-native-context-menu-view": "^1.20.0",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.2.0",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "^4.19.0",
"react-native-svg": "15.12.1",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.7.1"
},
"private": true,
"devDependencies": {
"@types/chrome": "^0.1.31",
"glob": "10.3.10",
"@types/react": "19.2.3",
"@types/react-dom": "19.2.3",
"babel-preset-expo": "^54.0.7",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.4.17",
"typescript": "^5.9.3",
"wxt": "^0.20.11"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write"
]
}
}