-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.41 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.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
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
{
"name": "@studiohyperdrive/obs-websocket",
"version": "5.1.0",
"description": "OBS Websocket API in Javascript, consumes @Palakis/obs-websocket",
"author": "OBS Websocket Community",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/studiohyperdrive/obs-websocket-js.git"
},
"repoUrl": "https://github.com/studiohyperdrive/obs-websocket-js",
"keywords": [
"obs",
"studio",
"websocket",
"node",
"node.js"
],
"type": "module",
"exports": {
".": {
"types": "./dist/json.d.ts",
"require": "./dist/json.cjs",
"browser": "./dist/json.modern.js",
"default": "./dist/msgpack.modern.js"
},
"./json": {
"types": "./dist/json.d.ts",
"require": "./dist/json.cjs",
"default": "./dist/json.modern.js"
},
"./msgpack": {
"types": "./dist/json.d.ts",
"require": "./dist/msgpack.cjs",
"default": "./dist/msgpack.modern.js"
}
},
"main": "dist/json.cjs",
"module": "dist/json.module.js",
"amdName": "OBSWebSocket",
"jsdelivr": "dist/obs-ws.min.js",
"unpkg": "dist/obs-ws.min.js",
"types": "dist/json.d.ts",
"engines": {
"node": ">12.0"
},
"sideEffects": false,
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "npm-run-all clean build:*",
"build:bundle": "microbundle -f modern,esm,cjs --no-compress src/{json,msgpack}.ts --generateTypes false",
"build:types": "tsc --emitDeclarationOnly && tsc --noEmit --moduleResolution bundler --module ESNext",
"build:unpkg": "node scripts/generate-unpkg.js",
"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: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": "^4.20.1",
"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",
"coveralls": "^3.1.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",
"microbundle": "^0.15.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^5.0.1",
"source-map-support": "^0.5.21",
"tsx": "4.2.1",
"typescript": "^5.5.3"
},
"bugs": {
"url": "https://github.com/studiohyperdrive/obs-websocket-js/issues"
},
"homepage": "https://github.com/studiohyperdrive/obs-websocket-js#readme",
"ava": {
"extensions": {
"ts": "commonjs"
},
"nodeArguments": [
"--import=tsx/esm"
],
"verbose": true
},
"c8": {
"all": true,
"reporter": [
"lcov",
"text"
],
"include": [
"src/**/*.ts"
]
},
"directories": {
"test": "tests"
}
}