1 | {
|
2 | "name": "jsonrpc-websocket-client",
|
3 | "version": "0.3.1",
|
4 | "license": "ISC",
|
5 | "description": "JSON-RPC 2 over WebSocket",
|
6 | "keywords": [
|
7 | "json",
|
8 | "json-rpc",
|
9 | "jsonrpc",
|
10 | "jsonrpc2",
|
11 | "rpc",
|
12 | "websocket"
|
13 | ],
|
14 | "homepage": "https://github.com/JsCommunity/jsonrpc-websocket-client",
|
15 | "bugs": "https://github.com/JsCommunity/jsonrpc-websocket-client/issues",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/JsCommunity/jsonrpc-websocket-client.git"
|
19 | },
|
20 | "author": {
|
21 | "name": "Julien Fontanet",
|
22 | "email": "julien.fontanet@isonoe.net"
|
23 | },
|
24 | "preferGlobal": false,
|
25 | "main": "dist/",
|
26 | "bin": {},
|
27 | "files": [
|
28 | "dist/"
|
29 | ],
|
30 | "engines": {
|
31 | "node": ">=4"
|
32 | },
|
33 | "dependencies": {
|
34 | "event-to-promise": "^0.8.0",
|
35 | "iterable-backoff": "^0.0.0",
|
36 | "json-rpc-peer": "^0.15.0",
|
37 | "lodash": "^4.17.4",
|
38 | "make-error": "^1.3.0",
|
39 | "promise-toolbox": "^0.9.5",
|
40 | "ws": "^4.0.0"
|
41 | },
|
42 | "devDependencies": {
|
43 | "babel-cli": "^6.24.1",
|
44 | "babel-eslint": "^8.0.1",
|
45 | "babel-preset-env": "^1.5.1",
|
46 | "babel-preset-stage-3": "^6.24.1",
|
47 | "cross-env": "^5.0.0",
|
48 | "eslint": "^4.15.0",
|
49 | "eslint-config-standard": "^11.0.0-beta.0",
|
50 | "eslint-plugin-import": "^2.8.0",
|
51 | "eslint-plugin-node": "^5.2.1",
|
52 | "eslint-plugin-promise": "^3.6.0",
|
53 | "eslint-plugin-standard": "^3.0.1",
|
54 | "husky": "^0.14.3",
|
55 | "jest": "^22.0.4",
|
56 | "rimraf": "^2.6.1"
|
57 | },
|
58 | "scripts": {
|
59 | "build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
60 | "clean": "rimraf dist/",
|
61 | "commitmsg": "yarn test",
|
62 | "dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
63 | "dev-test": "jest --bail --watch",
|
64 | "prebuild": "yarn run clean",
|
65 | "predev": "yarn run clean",
|
66 | "prepublishOnly": "yarn run build",
|
67 | "pretest": "eslint --ignore-path .gitignore --fix .",
|
68 | "test": "jest"
|
69 | },
|
70 | "babel": {
|
71 | "env": {
|
72 | "test": {
|
73 | "ignore": null
|
74 | }
|
75 | },
|
76 | "ignore": "*.spec.js",
|
77 | "presets": [
|
78 | [
|
79 | "env",
|
80 | {
|
81 | "targets": {
|
82 | "browsers": "> 1%",
|
83 | "node": 4
|
84 | }
|
85 | }
|
86 | ],
|
87 | "stage-3"
|
88 | ]
|
89 | },
|
90 | "jest": {
|
91 | "collectCoverage": true,
|
92 | "testEnvironment": "node",
|
93 | "roots": [
|
94 | "<rootDir>/src"
|
95 | ],
|
96 | "testRegex": "\\.spec\\.js$"
|
97 | },
|
98 | "browser": {
|
99 | "ws": "./dist/ws-browser.js"
|
100 | }
|
101 | }
|