initial
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"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",
|
||||
"./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/react": "^18.3.12",
|
||||
"react": "^18.3.1",
|
||||
"react-i18next": "^15.1.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user