-
Notifications
You must be signed in to change notification settings - Fork 95
/
package.json
139 lines (139 loc) · 3.72 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
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "obs-websocket-js",
"version": "5.0.6",
"description": "OBS Websocket API in Javascript, consumes @Palakis/obs-websocket",
"author": "OBS Websocket Community",
"license": "MIT",
"repository": "obs-websocket-community-projects/obs-websocket-js",
"repoUrl": "https://github.com/obs-websocket-community-projects/obs-websocket-js",
"keywords": [
"obs",
"studio",
"websocket",
"node",
"node.js"
],
"type": "module",
"exports": {
".": {
"browser": {
"types": "./dist/json.d.ts",
"default": "./dist/json.js"
},
"import": {
"types": "./dist/msgpack.d.ts",
"default": "./dist/msgpack.js"
},
"require": {
"types": "./dist/msgpack.d.cts",
"default": "./dist/msgpack.cjs"
}
},
"./json": {
"import": {
"types": "./dist/json.d.ts",
"default": "./dist/json.js"
},
"require": {
"types": "./dist/json.d.cts",
"default": "./dist/json.cjs"
}
},
"./msgpack": {
"import": {
"types": "./dist/msgpack.d.ts",
"default": "./dist/msgpack.js"
},
"require": {
"types": "./dist/msgpack.d.cts",
"default": "./dist/msgpack.cjs"
}
}
},
"main": "dist/json.cjs",
"module": "dist/json.js",
"amdName": "OBSWebSocket",
"jsdelivr": "dist/obs-ws.global.js",
"unpkg": "dist/obs-ws.global.js",
"types": "dist/json.d.ts",
"engines": {
"node": ">16.0"
},
"sideEffects": false,
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "npm-run-all clean build:*",
"build:bundle": "tsup src/json.ts src/msgpack.ts --splitting --sourcemap --dts --format esm,cjs --target node16",
"build:unpkg": "tsup --entry.obs-ws src/unpkg.cts --target es6 --format iife --platform browser --global-name OBSWebSocket --minify",
"clean": "rimraf dist",
"dev": "npm run build:bundle --watch",
"generate:obs-types": "node --import=tsx scripts/build-types.ts",
"lint": "eslint . --ext .cjs,.js,.ts",
"prepack": "npm run build",
"report": "c8 report",
"test": "cross-env NODE_OPTIONS=\"--import tsx\" c8 ava",
"test:types": "tsc --noEmit --moduleResolution bundler --module ESNext",
"test:watch": "cross-env NODE_OPTIONS=\"--import tsx\" ava --watch"
},
"dependencies": {
"@msgpack/msgpack": "^2.7.1",
"crypto-js": "^4.1.1",
"debug": "^4.3.2",
"eventemitter3": "^5.0.1",
"isomorphic-ws": "^5.0.0",
"type-fest": "^3.11.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/crypto-js": "^4.0.1",
"@types/debug": "^4.1.5",
"@types/eslint": "^8.2.1",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"ava": "^6.0.1",
"c8": "^9.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-xo": "^0.43.1",
"eslint-config-xo-typescript": "^0.57.0",
"eslint-plugin-ava": "^14.0.0",
"eslint-plugin-jsdoc": "^44.2.4",
"got": "^12.0.0",
"lodash.deburr": "^4.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^5.0.1",
"source-map-support": "^0.5.21",
"tsup": "^8.2.4",
"tsx": "4.2.1",
"typescript": "^5.0.4"
},
"bugs": {
"url": "https://github.com/obs-websocket-community-projects/obs-websocket-js/issues"
},
"homepage": "https://github.com/obs-websocket-community-projects/obs-websocket-js#readme",
"ava": {
"extensions": {
"ts": "commonjs"
},
"nodeArguments": [
"--import=tsx/esm"
],
"verbose": true
},
"c8": {
"all": true,
"reporter": [
"lcov",
"text"
],
"include": [
"src/**/*.ts"
]
}
}