forked from elpheria/rpc-websockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.16 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
{
"name": "@devbookhq/rpc-websockets",
"version": "7.4.18",
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js",
"main": "./dist/index.js",
"scripts": {
"build": "tsc && mkdir -p ./dist && eslint --fix -c ./.eslintrc './src/**/*.ts' && babel ./build-ts -d ./dist --copy-files && browserify -s RPCWebSocket ./dist/index.browser.js > ./dist/index.browser-bundle.js",
"pretest": "npm run-script build",
"test": "mocha --exit test/*spec.js",
"test:client": "mocha --exit test/client.spec.js",
"test:server": "mocha --exit test/server.spec.js",
"coverage": "istanbul cover _mocha --report lcovonly -- -R spec --exit && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"coveralls": "npm run-script coverage && coveralls < ./coverage/lcov.info"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elpheria/rpc-websockets.git"
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"eventemitter3": "^4.0.7",
"uuid": "^8.3.2",
"ws": "^8.5.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
},
"devDependencies": {
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.2",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"babel-eslint": "^10.1.0",
"browserify": "^17.0.0",
"chai": "^4.3.6",
"coveralls": "^3.1.1",
"eslint": "^8.8.0",
"istanbul": "^0.4.5",
"mocha": "^9.2.0",
"mocha-lcov-reporter": "^1.3.0",
"typescript": "^4.5.5"
},
"browser": "./dist/index.browser.js",
"keywords": [
"json",
"rpc",
"websocket",
"ws",
"client",
"server"
],
"author": "Elpheria",
"license": "LGPL-3.0-only",
"bugs": {
"url": "https://github.com/elpheria/rpc-websockets/issues"
},
"homepage": "https://github.com/elpheria/rpc-websockets#readme",
"funding": {
"type": "paypal",
"url": "https://paypal.me/kozjak"
}
}