forked from KSDaemon/wampy.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.65 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
{
"name": "wampy",
"version": "7.1.1",
"description": "Amazingly fast, feature-rich, lightweight WAMP Javascript client (for browser and node.js)",
"author": "Konstantin Burkalev <[email protected]> (https://ksdaemon.com)",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/register": "^7.24.6",
"@eslint/js": "^9.4.0",
"babelify": "^10.0.0",
"c8": "^9.0.0",
"chai": "^4.4.1",
"chai-bytes": "^0.1.2",
"coveralls": "^3.1.1",
"eslint": "^9.4.0",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-security": "^3.0.0",
"eslint-plugin-unicorn": "^53.0.0",
"globals": "^15.4.0",
"grunt": "^1.5.3",
"grunt-babel": "^8.0.0",
"grunt-browserify": "^6.0.0",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-compress": "^2.0.0",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-uglify": "^5.2.2",
"jsdom": "^24.1.0",
"jsdom-global": "^3.0.2",
"karma": "^6.4.2",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"load-grunt-tasks": "^5.1.0",
"lodash": "^4.17.21",
"mocha": "^10.3.0",
"mocha-lcov-reporter": "^1.3.0",
"sinon": "^18.0.0"
},
"main": "dist/wampy.js",
"exports": {
".": {
"import": "./src/wampy.js",
"require": "./dist/wampy.js"
},
"./JsonSerializer.js": {
"import": "./src/serializers/json-serializer.js",
"require": "./dist/serializers/json-serializer.js"
},
"./CborSerializer.js": {
"import": "./src/serializers/cbor-serializer.js",
"require": "./dist/serializers/cbor-serializer.js"
},
"./MsgpackSerializer.js": {
"import": "./src/serializers/msgpack-serializer.js",
"require": "./dist/serializers/msgpack-serializer.js"
},
"./cryptosign.js": {
"import": "./src/auth/cryptosign/wampy-cryptosign.js",
"require": "./dist/auth/cryptosign/wampy-cryptosign.js"
},
"./wampcra.js": {
"import": "./src/auth/wampcra/wampy-cra.js",
"require": "./dist/auth/wampcra/wampy-cra.js"
}
},
"type": "module",
"dependencies": {
"cbor-x": "^1.5.3",
"color-json": "^3.0.5",
"msgpackr": "^1.9.7",
"tweetnacl": "^1.0.3",
"websocket": "^1.0.34",
"ws": "^8.13.0",
"yargs": "^17.7.2"
},
"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": "cmd/cli.js"
},
"homepage": "https://github.com/KSDaemon/wampy.js#readme",
"scripts": {
"build": "npx grunt",
"lint": "npx 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": "NODE_ENV=test c8 mocha --exit -r @babel/register -R spec",
"test:node-no-browser-wrappers": "npm run test:node -- 'test/!(wampy-browser-wrappers)-test.js'",
"test:node-no-crossbar": "npm run test:node -- 'test/!(wampy-crossbar|wampy-browser-wrappers)-test.js'",
"test:node-cli": "npm run test:node -- 'test/wampy-cli-*.js'",
"test:crossbar": "npm run test:node -- 'test/wampy-crossbar-test.js'",
"test:browser-wrappers": "npm run test:node -- -r jsdom-global/register 'test/wampy-browser-wrappers-test.js'",
"test:browser": "npx karma start karma.conf.cjs",
"cover": "c8 report",
"publish": "npm run build"
}
}