UNPKG

@0xelod/nestjs-websocket

Version:
116 lines (115 loc) 3.08 kB
{ "name": "@0xelod/nestjs-websocket", "version": "0.1.7", "description": "Websocket Client for NestJS based on ws", "author": "Blockcoders Engineering <hello@blockcoders.io> & Taraxa", "license": "Apache", "readmeFilename": "README.md", "homepage": "https://github.com/Taraxa-project/nestjs-websocket/blob/main/README.md", "bugs": "https://github.com/Taraxa-project/nestjs-websocket/issues", "repository": { "type": "git", "url": "https://github.com/Taraxa-project/nestjs-websocket" }, "main": "dist/index.js", "engineStrict": false, "engines": { "node": "^10.24 || >=12.22 || >=14.17 || >=16.00" }, "scripts": { "build": "rm -rf ./dist && tsc --p tsconfig.build.json", "prepare": "npm run build", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"{src,apps,libs,test,__tests__}/**/*.ts\" --fix", "lint:ci": "eslint \"{src,apps,libs,test,__tests__}/**/*.ts\"", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "report": "cat ./coverage/lcov.info | coveralls", "prepublishOnly": "npm run lint:ci & npm run test:cov" }, "precommit": [ "lint:ci", "test:cov" ], "keywords": [ "ws", "ws-client", "websocket", "websocket-client", "websocket-protocol", "websocket-library", "websockets", "nestjs", "nest.js", "nest" ], "publishConfig": { "access": "public" }, "dependencies": { "ws": "^8.2.3" }, "devDependencies": { "@nestjs/common": "^8.0.11", "@nestjs/core": "^8.0.11", "@nestjs/platform-express": "^8.0.11", "@nestjs/platform-fastify": "^8.0.11", "@nestjs/platform-ws": "^8.0.11", "@nestjs/testing": "^8.0.11", "@nestjs/websockets": "^8.0.11", "@types/express": "^4.17.13", "@types/jest": "^27.0.2", "@types/node": "^16.10.3", "@types/supertest": "^2.0.11", "@types/ws": "^8.2.0", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "axios": ">=0.22.0", "coveralls": "^3.1.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.2.4", "nock": "^13.1.3", "pre-commit": "^1.2.2", "prettier": "^2.4.1", "reflect-metadata": "^0.1.13", "rxjs": "^7.4.0", "supertest": "^6.1.6", "ts-jest": "^27.0.5", "ts-node": "^10.2.1", "tsc-watch": "^4.5.0", "tsconfig-paths": "^3.11.0", "typescript": "^4.4.3" }, "jest": { "verbose": true, "testTimeout": 20000, "moduleFileExtensions": [ "js", "json", "ts" ], "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "coverageDirectory": "./coverage", "collectCoverageFrom": [ "src/**/*.ts" ], "coveragePathIgnorePatterns": [ "src/index.ts" ], "coverageThreshold": { "global": { "branches": 40, "functions": 70, "lines": 70, "statements": 85 } }, "testEnvironment": "node" } }