-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
100 lines (100 loc) · 2.46 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
{
"name": "json-rpc-peer",
"version": "0.17.1",
"license": "ISC",
"description": "JSON-RPC 2 transport-agnostic library",
"keywords": [
"json",
"json-rpc",
"jsonrpc",
"jsonrpc2",
"rpc"
],
"homepage": "https://github.com/JsCommunity/json-rpc-peer",
"bugs": "https://github.com/JsCommunity/json-rpc-peer/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/json-rpc-peer.git"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"contributors": [
{
"name": "Huan LI (李卓桓)",
"url" :"https://github.com/huan"
}
],
"preferGlobal": false,
"main": "dist/index.js",
"typings": "index.d.ts",
"bin": {},
"files": [
"dist/",
"index.d.ts"
],
"engines": {
"node": ">=4"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"json-rpc-protocol": "^0.13.1",
"lodash": "^4.17.4"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.3.1",
"babel-plugin-lodash": "^3.3.2",
"cross-env": "^5.1.1",
"eslint": "^5.3.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^2.4.0",
"jest": "^24.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"rimraf": "^2.7.1"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "jest --bail --watch",
"prebuild": "yarn run clean",
"predev": "npm run prebuild",
"prepublishOnly": "npm run build",
"pretest": "eslint --ignore-path .gitignore --fix .",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverage": true,
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testRegex": "\\.spec\\.js$"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add",
"eslint --ignore-pattern '!*'",
"jest --findRelatedTests --passWithNoTests"
]
}
}