mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
* WIP node.js websocket app * Load testing * Multi-stream publish with blocking reads * Use JWT for auth and channel ID * Update ws jwt cookie name * Typescript * Frontend WebSocket transport support * ws server ping/pong and GC logic * ws server unit tests * GC interval config, debug logging * Cleanup JWT cookie logic * Refactor asyncEvents.ts to support non-Redux use cases * Update tests for refactored asyncEvents * Add eslint, write READMEs, reorg files * CI workflow * Moar Apache license headers * pylint found something * adjust GH actions workflow * Improve documentation & comments * Prettier * Add configurable logging via Winston * Add SSL support for Redis connections * Fix incompatible logger statements * Apply suggestions from code review Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com> * rename streamPrefix config Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "superset-websocket",
|
|
"version": "0.0.1",
|
|
"description": "Websocket sidecar application for Superset",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node dist/index.js start",
|
|
"test": "NODE_ENV=test jest -i spec",
|
|
"type": "tsc --noEmit",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx && npm run type",
|
|
"dev-server": "ts-node src/index.ts start",
|
|
"build": "tsc",
|
|
"prettier-check": "prettier --check .",
|
|
"format": "prettier --write ."
|
|
},
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"cookie": "^0.4.1",
|
|
"ioredis": "^4.16.1",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"uuid": "^8.3.2",
|
|
"winston": "^3.3.3",
|
|
"ws": "^7.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ioredis": "^4.22.0",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/node": "^14.14.22",
|
|
"@types/uuid": "^8.3.0",
|
|
"@types/ws": "^7.4.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
"@typescript-eslint/parser": "^4.19.0",
|
|
"eslint": "^7.22.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"jest": "^26.6.3",
|
|
"prettier": "2.2.1",
|
|
"ts-jest": "^26.5.3",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.2.3"
|
|
}
|
|
}
|