Files
ChatApp/packages/shared/package.json
T
byGalax 2c586351fc fix(shared): expose ./crypto/testBackend in package exports
Removes the @shared Vite-alias workaround in userIdentity.test.ts so
tsc can resolve the import without an extra paths entry.
2026-05-15 22:43:24 +02:00

51 lines
1.4 KiB
JSON

{
"name": "@chat-app/shared",
"version": "0.1.0",
"private": true,
"description": "Shared business logic: Supabase client, crypto wrappers, auth + chat flows",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./supabase": "./src/supabase/index.ts",
"./crypto": "./src/crypto/index.ts",
"./crypto/testBackend": "./src/crypto/testBackend.ts",
"./auth": "./src/auth/index.ts",
"./chat": "./src/chat/index.ts",
"./admin": "./src/admin/index.ts",
"./friends": "./src/friends/index.ts",
"./i18n": "./src/i18n/index.ts",
"./rtc": "./src/rtc/index.ts"
},
"scripts": {
"build": "tsc -b",
"dev": "tsc -b --watch",
"lint": "eslint src --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rm -rf dist .turbo *.tsbuildinfo"
},
"dependencies": {
"@chat-app/db-types": "workspace:*",
"@supabase/supabase-js": "^2.46.0",
"i18next": "^23.16.4"
},
"peerDependencies": {
"react": "^18.3.1",
"react-i18next": "^15.1.1"
},
"peerDependenciesMeta": {
"react": { "optional": false },
"react-i18next": { "optional": false }
},
"devDependencies": {
"@types/libsodium-wrappers": "^0.7.14",
"@types/react": "^18.3.12",
"libsodium-wrappers-sumo": "0.7.15",
"react": "^18.3.1",
"react-i18next": "^15.1.1"
}
}