-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.4 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 4.4 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
129
130
131
{
"name": "wampy",
"version": "8.0.2",
"description": "Amazingly fast, feature-rich, lightweight WAMP Javascript client (for browser and node.js)",
"author": "Konstantin Burkalev <KSDaemon@gmail.com> (https://ksdaemon.com)",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"@types/sinon": "^22.0.0",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.18.1",
"@types/yargs": "^17.0.35",
"c8": "^11.0.0",
"chai": "^6.2.2",
"coveralls": "^3.1.1",
"cross-env": "^10.0.0",
"eslint": "^10.5.0",
"eslint-plugin-mocha": "^11.1.0",
"eslint-plugin-security": "^4.0.1",
"eslint-plugin-unicorn": "^69.0.0",
"globals": "^17.7.0",
"jsdom": "^29.0.0",
"jsdom-global": "^3.0.2",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-esbuild": "^2.3.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"mocha": "^11.6.0",
"mocha-lcov-reporter": "^1.3.0",
"sinon": "^22.0.0",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.62.0"
},
"main": "dist/cjs/wampy.cjs",
"module": "dist/esm/wampy.js",
"types": "dist/esm/wampy.d.ts",
"exports": {
".": {
"types": "./dist/esm/wampy.d.ts",
"import": "./dist/esm/wampy.js",
"require": "./dist/cjs/wampy.cjs"
},
"./JsonSerializer.js": {
"types": "./dist/esm/serializers/json-serializer.d.ts",
"import": "./dist/esm/serializers/json-serializer.js",
"require": "./dist/cjs/serializers/json-serializer.cjs"
},
"./CborSerializer.js": {
"types": "./dist/esm/serializers/cbor-serializer.d.ts",
"import": "./dist/esm/serializers/cbor-serializer.js",
"require": "./dist/cjs/serializers/cbor-serializer.cjs"
},
"./MsgpackSerializer.js": {
"types": "./dist/esm/serializers/msgpack-serializer.d.ts",
"import": "./dist/esm/serializers/msgpack-serializer.js",
"require": "./dist/cjs/serializers/msgpack-serializer.cjs"
},
"./cryptosign.js": {
"types": "./dist/esm/auth/cryptosign/wampy-cryptosign.d.ts",
"import": "./dist/esm/auth/cryptosign/wampy-cryptosign.js",
"require": "./dist/cjs/auth/cryptosign/wampy-cryptosign.cjs"
},
"./wampcra.js": {
"types": "./dist/esm/auth/wampcra/wampy-cra.d.ts",
"import": "./dist/esm/auth/wampcra/wampy-cra.js",
"require": "./dist/cjs/auth/wampcra/wampy-cra.mjs"
}
},
"type": "module",
"dependencies": {
"cbor-x": "^1.6.4",
"color-json": "^3.0.5",
"msgpackr": "^2.0.1",
"tweetnacl": "^1.0.3",
"websocket": "^1.0.34",
"ws": "^8.21.0",
"yargs": "^18.0.0"
},
"overrides": {
"ws": "^8.21.0"
},
"repository": {
"type": "git",
"url": "git://github.com/KSDaemon/wampy.js.git"
},
"keywords": [
"websocket",
"wamp",
"pubsub",
"rpc"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/KSDaemon/wampy.js/issues"
},
"bin": {
"wampy": "dist/cli/cli.js"
},
"files": [
"dist/esm/",
"dist/cjs/",
"dist/browser/",
"dist/browser.zip",
"dist/cli/"
],
"homepage": "https://github.com/KSDaemon/wampy.js#readme",
"scripts": {
"build": "rm -rf dist && tsup && node scripts/post-build.js",
"typecheck": "tsc --noEmit --declaration false --declarationMap false",
"lint": "eslint",
"lint:fix": "npm run lint -- --fix",
"test": "npm run test:node-no-browser-wrappers && npm run test:browser-wrappers && npm run test:browser",
"test:node": "cross-env NODE_ENV=test NODE_OPTIONS='--import tsx/esm' c8 mocha --exit -R spec",
"test:node-no-clean": "cross-env NODE_ENV=test NODE_OPTIONS='--import tsx/esm' c8 --no-clean mocha --exit -R spec",
"test:node-no-browser-wrappers": "npm run test:node -- 'test/!(wampy-browser-wrappers)-test.ts'",
"test:node-no-crossbar": "npm run test:node -- 'test/!(wampy-crossbar|wampy-browser-wrappers)-test.ts'",
"test:node-cli": "npm run test:node -- 'test/wampy-cli-*.ts'",
"test:crossbar": "npm run test:node -- 'test/wampy-crossbar-test.ts'",
"test:browser-wrappers": "npm run test:node-no-clean -- -r jsdom-global/register 'test/wampy-browser-wrappers-test.ts'",
"test:browser": "karma start karma.conf.cjs",
"cover": "c8 report",
"publish": "npm run build"
}
}