-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.95 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
{
"name": "message-bridge-js",
"version": "0.9.4",
"homepage": "https://github.com/alfnielsen/MessageBridgeJS",
"repository": {
"type": "git",
"url": "https://github.com/alfnielsen/MessageBridgeJS.git"
},
"author": "Alf Nielsen <[email protected]>",
"exports": {
"require": "./dist/index.js",
"default": "./dist/index.modern.mjs"
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"source": "src/index.ts",
"scripts": {
"test:all": "yarn jest --runInBand --detectOpenHandles",
"test:flow": "yarn jest -i tests/fullFlow.test.ts --runInBand --detectOpenHandles",
"test:errors": "yarn jest -i tests/handleErrors.test.ts --runInBand --detectOpenHandles",
"test:options": "yarn jest -i tests/bridgeOptions.test.ts --runInBand --detectOpenHandles",
"test:request": "yarn jest -i tests/requestOptions.test.ts --runInBand --detectOpenHandles",
"test:parallel": "yarn jest -i tests/parallel.test.ts --runInBand --detectOpenHandles",
"test:event": "yarn jest -i tests/sendEvent.test.ts --runInBand --detectOpenHandles",
"test:logger": "yarn jest -i tests/logger.test.ts --runInBand --detectOpenHandles",
"test:intercept": "yarn jest -i tests/intercept.test.ts --runInBand --detectOpenHandles",
"test:cancel": "yarn jest -i tests/cancel.test.ts --runInBand --detectOpenHandles",
"build": "microbundle --format modern,umd,cjs,es",
"publish": "npm publish"
},
"dependencies": {
"@microsoft/signalr": "^7.0.2",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.2.5",
"@types/uuid": "^9.0.0",
"babel-jest": "^29.3.1",
"jest": "^29.3.1",
"jest-websocket-mock": "^2.4.0",
"microbundle": "^0.15.1",
"mock-socket": "^9.1.5",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
}
}