Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.41 KB
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
{
"name": "node-rtc-connection",
"version": "2.1.1",
"description": "WebRTC DataChannel implementation for Node.js with STUN, TURN, NAT traversal, and encryption. Pure Node.js, no native dependencies.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"typecheck": "tsc -p tsconfig.test.json",
"test": "node --import tsx test/run-all-tests.ts",
"test:ci": "bash scripts/ci-local.sh",
"test:unit": "SKIP_INTEGRATION=1 node --import tsx --test test/*.test.ts",
"test:coverage": "c8 node --import tsx test/run-all-tests.ts",
"test:coverage:check": "c8 --check-coverage node --import tsx test/run-all-tests.ts",
"test:watch": "node --import tsx --test --watch test/*.test.ts",
"example": "node --import tsx examples/browser-server.ts",
"example:browser": "node --import tsx examples/browser-server.ts",
"example:node": "node --import tsx examples/node-to-node.ts",
"release:patch": "npm version patch && git push && git push --tags",
"release:minor": "npm version minor && git push && git push --tags",
"release:major": "npm version major && git push && git push --tags"
},
"keywords": [
"webrtc",
"datachannel",
"peer-connection",
"rtc",
"p2p",
"real-time",
"stun",
"turn",
"nat-traversal",
"ice",
"encryption",
"tls",
"dtls",
"relay",
"peer-to-peer"
],
"author": "nmhung1210",
"license": "MIT",
"type": "commonjs",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^25.9.1",
"c8": "^11.0.0",
"playwright": "^1.60.0",
"rollup": "^4.54.0",
"tslib": "^2.8.1",
"tsx": "^4.22.3",
"typescript": "^6.0.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nmhung1210/node-rtc-connection.git"
},
"bugs": {
"url": "https://github.com/nmhung1210/node-rtc-connection/issues"
},
"homepage": "https://github.com/nmhung1210/node-rtc-connection#readme"
}