-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 2.05 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
{
"name": "@nodertc/dtls-native",
"version": "0.0.0",
"description": "DTLS in nodejs",
"main": "src/index.js",
"scripts": {
"test": "npx eslint src && npx jest",
"server": "docker run -it --name dtlsd --rm -e \"GNUTLS_DEBUG_LEVEL=2\" -e \"PRIORITY=NORMAL:+AEAD:+ECDHE-RSA:+VERS-DTLS1.2\" -e \"KEYFILE=key-rsa.pem\" -e \"CERTFILE=cert-rsa.pem\" -p 4444:4444/udp nodertc/dtls-server:1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nodertc/dtls-native.git"
},
"keywords": [
"dtls",
"gnutls",
"nodertc",
"webrtc"
],
"author": "Dmitriy Tsvettsikh <me@reklatsmasters.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nodertc/dtls-native/issues"
},
"files": [
"src",
"lib",
"Makefile",
"binding.gyp"
],
"engines": {
"node": "^12.19 || ^14.8"
},
"homepage": "https://github.com/nodertc/dtls-native#readme",
"eslintConfig": {
"extends": "@nodertc",
"rules": {
"no-underscore-dangle": "off"
},
"overrides": [
{
"files": [
"test/**/*.js"
],
"env": {
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"src"
]
}
}
},
"rules": {
"require-jsdoc": "off"
}
}
]
},
"devDependencies": {
"@nodertc/eslint-config": "^0.3.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"eslint": "^7.20.0",
"jest": "^26.6.3",
"prettier": "^2.2.1"
},
"jest": {
"modulePaths": [
"<rootDir>",
"<rootDir>/src"
],
"testMatch": [
"**/test/unit/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"coverageDirectory": "<rootDir>/coverage",
"collectCoverageFrom": [
"**/src/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest-cache"
}
}