
- 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.
69 lines
1.7 KiB
JSON
69 lines
1.7 KiB
JSON
{
|
|
"name": "package-json-from-dist",
|
|
"version": "1.0.1",
|
|
"description": "Load the local package.json from either src or dist folder",
|
|
"main": "./dist/commonjs/index.js",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"default": "./dist/commonjs/index.js"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"prepublishOnly": "git push origin --follow-tags",
|
|
"prepare": "tshy",
|
|
"pretest": "npm run prepare",
|
|
"presnap": "npm run prepare",
|
|
"test": "tap",
|
|
"snap": "tap",
|
|
"format": "prettier --write . --log-level warn",
|
|
"typedoc": "typedoc"
|
|
},
|
|
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
|
|
"license": "BlueOak-1.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/isaacs/package-json-from-dist.git"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.12.12",
|
|
"prettier": "^3.2.5",
|
|
"tap": "^18.5.3",
|
|
"typedoc": "^0.24.8",
|
|
"typescript": "^5.1.6",
|
|
"tshy": "^1.14.0"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 70,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"jsxSingleQuote": false,
|
|
"bracketSameLine": true,
|
|
"arrowParens": "avoid",
|
|
"endOfLine": "lf",
|
|
"experimentalTernaries": true
|
|
},
|
|
"tshy": {
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": "./src/index.ts"
|
|
}
|
|
},
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"type": "module"
|
|
}
|