-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
117 lines (117 loc) · 3.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "nestjs-io-client",
"version": "0.1.0",
"description": "Socket.io Client for NestJS based on socket.io-client",
"author": "Blockcoders Engineering <[email protected]>",
"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"
}
}