
- Complete NestJS TypeScript implementation with WebSocket support - Direct messaging (DM) and group chat functionality - End-to-end encryption with AES encryption and key pairs - Media file support (images, videos, audio, documents) up to 100MB - Push notifications with Firebase Cloud Messaging integration - Mention alerts and real-time typing indicators - User authentication with JWT and Passport - SQLite database with TypeORM entities and relationships - Comprehensive API documentation with Swagger/OpenAPI - File upload handling with secure access control - Online/offline status tracking and presence management - Message editing, deletion, and reply functionality - Notification management with automatic cleanup - Health check endpoint for monitoring - CORS configuration for cross-origin requests - Environment-based configuration management - Structured for Flutter SDK integration Features implemented: ✅ Real-time messaging with Socket.IO ✅ User registration and authentication ✅ Direct messages and group chats ✅ Media file uploads and management ✅ End-to-end encryption ✅ Push notifications ✅ Mention alerts ✅ Typing indicators ✅ Message read receipts ✅ Online status tracking ✅ File access control ✅ Comprehensive API documentation Ready for Flutter SDK development and production deployment.
70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "@paralleldrive/cuid2",
|
|
"private": false,
|
|
"types": "index.d.ts",
|
|
"files": [
|
|
"src/index.js",
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint --fix",
|
|
"typescript": "npx -p typescript tsc --esModuleInterop --rootDir . src/index-test.js --noEmit --allowJs --checkJs --target es2020 --moduleResolution node && echo 'TypeScript Complete.'",
|
|
"test": "NODE_ENV=test node src/index-test.js",
|
|
"test-color": "NODE_ENV=test node src/index-test.js | tap-nirvana",
|
|
"collision-test": "NODE_ENV=test node src/collision-test.js | tap-nirvana",
|
|
"histogram": "NODE_ENV=test node src/histogram.js | tap-nirvana",
|
|
"watch": "watch 'npm run -s test | tap-nirvana && npm run -s lint && npm run -s typescript' src",
|
|
"update": "updtr",
|
|
"release": "release-it"
|
|
},
|
|
"pre-commit": [
|
|
"lint",
|
|
"test-color",
|
|
"collision-test"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ericelliott/cuid2.git"
|
|
},
|
|
"keywords": [
|
|
"uuid",
|
|
"guid",
|
|
"cuid",
|
|
"unique",
|
|
"id",
|
|
"ids",
|
|
"identifier",
|
|
"identifiers"
|
|
],
|
|
"author": "Eric Elliott",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/ericelliott/cuid2/issues"
|
|
},
|
|
"homepage": "https://github.com/ericelliott/cuid2#readme",
|
|
"devDependencies": {
|
|
"eslint": "8.30.0",
|
|
"eslint-config-next": "13.1.1",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"next": "13.1.1",
|
|
"pre-commit": "1.2.2",
|
|
"prettier": "2.8.1",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"release-it": "15.5.1",
|
|
"riteway": "7.0.0",
|
|
"tap-nirvana": "1.1.0",
|
|
"updtr": "4.0.0",
|
|
"watch": "1.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^1.1.5"
|
|
},
|
|
"version": "2.2.2"
|
|
}
|