-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
107 lines (107 loc) · 3.76 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
{
"name": "node-datachannel",
"version": "0.21.0",
"description": "WebRTC For Node.js and Electron. libdatachannel node bindings.",
"main": "./dist/cjs/lib/index.cjs",
"module": "./dist/esm/lib/index.mjs",
"types": "./dist/types/lib/index.d.ts",
"exports": {
".": {
"types": "./dist/types/lib/index.d.ts",
"require": "./dist/cjs/lib/index.cjs",
"import": "./dist/esm/lib/index.mjs",
"default": "./dist/lib/esm/index.mjs"
},
"./polyfill": {
"types": "./dist/types/polyfill/index.d.ts",
"require": "./dist/cjs/polyfill/index.cjs",
"import": "./dist/esm/polyfill/index.mjs",
"default": "./dist/polyfill/esm/index.mjs"
}
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"install": "prebuild-install -r napi || (npm install --ignore-scripts --production=false && npm run _prebuild)",
"install:nice": "npm run clean && npm install --ignore-scripts --production=false && cmake-js build --CDUSE_NICE=1",
"install:gnu": "npm run clean && npm install --ignore-scripts --production=false && cmake-js build --CDUSE_GNUTLS=1",
"build": "npm run compile && npm run build:tsc",
"compile": "cmake-js build",
"compile:debug": "cmake-js build -D",
"build:tsc": "rimraf dist && rollup -c",
"build:tsc:watch": "rollup -c -w",
"clean": "rimraf dist build",
"lint": "eslint . --ext .ts --ext .mts",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:wpt": "npm run run:wpt:server & (sleep 8 && (npm run run:wpt:test | tee test/wpt-tests/last-test-results.md) )",
"run:wpt:server": "cd test/wpt-tests/wpt && ./wpt serve",
"run:wpt:test": "ts-node test/wpt-tests/index.ts",
"_prebuild": "prebuild -r napi --backend cmake-js",
"prepack": "npm run build:tsc"
},
"binary": {
"napi_versions": [
8
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/murat-dogan/node-datachannel.git"
},
"keywords": [
"libdatachannel",
"webrtc",
"p2p",
"peer-to-peer",
"datachannel",
"data channel",
"websocket"
],
"contributors": [
{
"name": "Murat Doğan",
"url": "https://github.com/murat-dogan"
},
{
"name": "Paul-Louis Ageneau",
"url": "https://github.com/paullouisageneau"
}
],
"license": "MPL 2.0",
"bugs": {
"url": "https://github.com/murat-dogan/node-datachannel/issues"
},
"homepage": "https://github.com/murat-dogan/node-datachannel#readme",
"devDependencies": {
"@rollup/plugin-esm-shim": "^0.1.7",
"@types/jest": "^29.5.12",
"@types/node": "^20.6.1",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"cmake-js": "^6.3.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jsdom": "^24.1.1",
"node-addon-api": "^7.0.0",
"prebuild": "^12.0.0",
"prettier": "^3.3.3",
"puppeteer": "^22.14.0",
"rimraf": "^5.0.9",
"rollup": "^4.22.5",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"ts-api-utils": "^1.3.0",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"typescript": "5.4"
},
"dependencies": {
"node-domexception": "^2.0.1",
"prebuild-install": "^7.0.1"
}
}