UNPKG

nestjs-io-client

Version:
118 lines (117 loc) 3.14 kB
{ "name": "nestjs-io-client", "version": "0.1.0", "description": "Socket.io Client for NestJS based on socket.io-client", "author": "Blockcoders Engineering <hello@blockcoders.io>", "license": "Apache", "readmeFilename": "README.md", "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": [ "socket.io", "socket.io-client", "io-client", "io", "websocket", "socket.io-protocol", "socket.io-library", "websockets", "nestjs", "nest.js", "nest" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/blockcoders/nestjs-io-client" }, "homepage": "https://github.com/blockcoders/nestjs-io-client/blob/main/README.md", "bugs": "https://github.com/blockcoders/nestjs-io-client/issues", "dependencies": { "socket.io-client": "^4.2.0" }, "devDependencies": { "@nestjs/common": "^8.0.9", "@nestjs/core": "^8.0.9", "@nestjs/platform-express": "^8.0.9", "@nestjs/platform-fastify": "^8.0.9", "@nestjs/platform-socket.io": "^8.0.9", "@nestjs/testing": "^8.0.9", "@nestjs/websockets": "^8.0.9", "@types/express": "^4.17.13", "@types/jest": "^27.0.2", "@types/node": "^16.10.2", "@types/supertest": "^2.0.11", "@typescript-eslint/eslint-plugin": "^4.32.0", "@typescript-eslint/parser": "^4.32.0", "axios": ">=0.22.0", "ansi-regex": ">=6.0.1", "coveralls": "^3.1.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.24.2", "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.3.1", "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" } }