forked from nodertc/stun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 2.74 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
118
119
120
121
122
123
124
125
126
127
{
"name": "stun",
"version": "2.1.1",
"description": "Session Traversal Utilities for NAT (STUN) client and server.",
"main": "src/index.js",
"scripts": {
"lint": "npx eslint .",
"cover": "npx jest --coverage --forceExit",
"test": "npm run lint && npx jest",
"test-ci": "npm run lint && npm run cover"
},
"bin": "./src/cli.js",
"repository": {
"type": "git",
"url": "git+https://github.com/nodertc/stun.git"
},
"keywords": [
"webrtc",
"stun",
"rfc5389",
"5389",
"ice",
"turn"
],
"author": "Dmitry Tsvettsikh <me@reklatsmasters.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/nodertc/stun/issues"
},
"homepage": "https://github.com/nodertc/stun#readme",
"devDependencies": {
"@nodertc/eslint-config": "^0.3.0",
"eslint": "^8.24.0",
"jest": "^29.1.1",
"prettier": "^2.7.1"
},
"dependencies": {
"binary-data": "^0.6.0",
"buffer-xor": "^2.0.2",
"debug": "^4.3.1",
"ip": "^1.1.8",
"ip2buf": "^2.0.0",
"is-stun": "^2.0.0",
"meow": "^9.0.0",
"parse-url": "^6.0.5",
"turbo-crc32": "^1.0.1",
"universalify": "^2.0.0"
},
"engines": {
"node": ">=8.3"
},
"jest": {
"modulePaths": [
"<rootDir>",
"<rootDir>/src",
"<rootDir>/src/node_modules"
],
"testMatch": [
"**/test/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"coverageDirectory": "<rootDir>/coverage",
"collectCoverageFrom": [
"**/src/*.js",
"!**/src/cli.js",
"**/src/node_modules/**/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest-cache"
},
"eslintConfig": {
"extends": "@nodertc",
"rules": {
"no-plusplus": "off",
"no-bitwise": "off",
"consistent-return": "off",
"jsdoc/require-returns": "off"
},
"overrides": [
{
"files": [
"test/**/*.js"
],
"env": {
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"src",
"src/node_modules"
]
}
}
},
"rules": {
"require-jsdoc": "off",
"jsdoc/require-jsdoc": "off",
"unicorn/prevent-abbreviations": "off"
}
},
{
"files": [
"examples/*.js"
],
"rules": {
"no-console": "off",
"require-jsdoc": "off"
}
},
{
"files": [
"**/attributes/stun-*.js"
],
"rules": {
"class-methods-use-this": "off"
}
}
]
}
}