-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.44 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 3.44 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
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
{
"name": "@twilio/video-node-sdk",
"version": "1.0.0-rc.2",
"description": "Twilio Video Media Streams SDK for Node.js - Server-side access to decoded video/audio frames",
"homepage": "https://github.com/twilio/twilio-video-node#readme",
"bugs": {
"url": "https://github.com/twilio/twilio-video-node/issues"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"build": "node scripts/build.js",
"build:debug": "cmake-js build --debug",
"build:release": "cmake-js build --CDCMAKE_BUILD_TYPE=Release",
"rebuild": "cmake-js rebuild",
"clean": "cmake-js clean",
"package": "node scripts/prebuild.js",
"fetch-deps": "node scripts/fetch-deps.js",
"build:ts": "tsdown",
"docs": "typedoc",
"test": "vitest run",
"test:unit": "vitest run --exclude '**/integration.test.ts' --exclude '**/node_modules/**'",
"test:integration": "vitest run test/integration.test.ts",
"test:coverage": "vitest run --coverage --exclude '**/integration.test.ts' --exclude '**/node_modules/**'",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky",
"test:unit:pure": "vitest run test/frame_stream.test.ts test/remote_track.test.ts test/errors.test.ts test/room.test.ts test/participant.test.ts test/changelog_section.test.ts",
"typecheck": "tsc --noEmit -p tsconfig.test.json",
"test:soak": "node test/soak.mjs",
"typecheck:examples": "tsc --noEmit -p examples/tsconfig.json",
"check:examples": "node --check examples/audio_push.js && node --check examples/data_channel.js && node --check examples/video_mirror.js && node --check examples/virtual_camera.js && node --check examples/voice_agent.js && node --check examples/cv_object_detection.js && node --check examples/cv_face_analysis.js && node --check examples/helpers/cv-runner.js && node --check examples/helpers/cv-postprocess.js && node --check examples/helpers/draw.js && node --check examples/helpers/onnx-model.js && npm run typecheck:examples"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^4.0.18",
"cmake-js": "^7.3.0",
"eslint": "^10.0.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"node-addon-api": "^8.0.0",
"prettier": "^3.8.1",
"tsdown": "^0.21.1",
"twilio": "^5.12.1",
"typedoc": "^0.28.20",
"typescript": "^5.0.0",
"typescript-eslint": "^8.57.0",
"vitest": "^4.0.18"
},
"files": [
"dist",
"prebuilds",
"package.json",
"CHANGELOG.md",
"FRAME_CONTRACT.md",
"LIFECYCLE.md"
],
"engines": {
"node": ">=24.0.0"
},
"os": [
"darwin",
"linux"
],
"cpu": [
"x64"
],
"keywords": [
"twilio",
"video",
"webrtc",
"media-streams",
"real-time",
"rooms",
"nodejs",
"media",
"audio",
"frames",
"napi"
],
"lint-staged": {
"*.{js,mjs,ts}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/twilio/twilio-video-node.git"
}
}