
- 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": "comment-json",
|
|
"version": "4.2.5",
|
|
"description": "Parse and stringify JSON with comments. It will retain comments even after saved!",
|
|
"main": "src/index.js",
|
|
"types": "index.d.ts",
|
|
"scripts": {
|
|
"test": "npm run test:only",
|
|
"test:only": "npm run test:ts && npm run test:node",
|
|
"test:ts": "tsc -b test/ts/tsconfig.build.json && node test/ts/test-ts.js",
|
|
"test:node": "NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose",
|
|
"test:dev": "npm run test:only && npm run report:dev",
|
|
"lint": "eslint .",
|
|
"fix": "eslint . --fix",
|
|
"posttest": "npm run report",
|
|
"report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
|
"report:dev": "nyc report --reporter=html && npm run report:open",
|
|
"report:open": "open coverage/index.html"
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"index.d.ts"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/kaelzhang/node-comment-json.git"
|
|
},
|
|
"keywords": [
|
|
"comment-json",
|
|
"comments",
|
|
"annotations",
|
|
"json",
|
|
"json-stringify",
|
|
"json-parse",
|
|
"parser",
|
|
"comments-json",
|
|
"json-comments"
|
|
],
|
|
"engines": {
|
|
"node": ">= 6"
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"test/*.test.js"
|
|
]
|
|
},
|
|
"author": "kaelzhang",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/kaelzhang/node-comment-json/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@ostai/eslint-config": "^3.6.0",
|
|
"ava": "^4.0.1",
|
|
"codecov": "^3.8.2",
|
|
"eslint": "^8.8.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"nyc": "^15.1.0",
|
|
"test-fixture": "^2.4.1",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"dependencies": {
|
|
"array-timsort": "^1.0.3",
|
|
"core-util-is": "^1.0.3",
|
|
"esprima": "^4.0.1",
|
|
"has-own-prop": "^2.0.0",
|
|
"repeat-string": "^1.6.1"
|
|
}
|
|
}
|