-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.26 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.26 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
{
"name": "@fission-codes/channel",
"type": "module",
"version": "0.0.2",
"description": "Communication channel between two peers over a generic transport using a generic codec to exchange data.",
"author": "Hugo Dias <hugomrdias@gmail.com> (hugodias.me)",
"license": "MIT",
"homepage": "https://github.com/fission-codes/stack/tree/main/packages/channel",
"repository": {
"url": "fission-codes/stack",
"directory": "packages/channel"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./src/index.js"
},
"./transports/*": {
"types": "./dist/src/transports/*",
"default": "./src/transports/*"
},
"./codecs/*": {
"types": "./dist/src/codecs/*",
"default": "./src/codecs/*"
},
"./types": {
"types": "./dist/src/types.d.ts"
}
},
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"typesVersions": {
"*": {
".": [
"dist/src/index"
],
"transports/*": [
"dist/src/transports/*"
],
"codecs/*": [
"dist/src/codecs/*"
],
"types": [
"dist/src/types"
]
}
},
"files": [
"src",
"dist/src/*.d.ts",
"dist/src/*.d.ts.map",
"dist/src/codecs/*.d.ts",
"dist/src/codecs/*.d.ts.map",
"dist/src/transports/*.d.ts",
"dist/src/transports/*.d.ts.map"
],
"scripts": {
"lint": "tsc --build && eslint . && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"build": "tsc --build",
"test": "pnpm run test:node && pnpm run test:browser",
"test:node": "playwright-test 'test/**/!(*.browser).test.js'",
"test:browser": "playwright-test 'test/**/!(*.node).test.js'"
},
"dependencies": {
"emittery": "^1.0.3",
"iso-websocket": "^0.2.0"
},
"devDependencies": {
"@types/node": "^20.11.30",
"p-defer": "^4.0.0",
"playwright-test": "^14.1.1",
"type-fest": "^4.20.0",
"unws": "^0.2.4",
"ws": "^8.16.0"
},
"publishConfig": {
"provenance": true
},
"eslintConfig": {
"extends": [
"@fission-codes"
],
"env": {
"mocha": true
},
"ignorePatterns": [
"dist"
]
},
"depcheck": {
"specials": [
"bin"
],
"ignores": [
"@types/*"
]
}
}