-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
128 lines (128 loc) · 3.02 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "mixin-node-client",
"description": "Node.js SDK for Mixin Network",
"version": "0.11.0",
"author": "wangshijun <[email protected]>",
"bugs": {
"url": "https://github.com/wangshijun/mixin-node-client/issues",
"email": "[email protected]"
},
"contributors": [
"wangshijun <[email protected]>"
],
"dependencies": {
"axios": "^0.20.0",
"axios-retry": "^3.1.9",
"camelcase": "^5.0.0",
"camelcase-keys": "^5.0.0",
"int64-buffer": "^0.1.10",
"interval-promise": "^1.3.0",
"jsonwebtoken": "^8.3.0",
"nano-time": "^1.0.0",
"rfc3339nano": "^1.0.2",
"strformat": "^0.0.7",
"ws": "^6.1.2"
},
"ava": {
"failFast": true,
"verbose": true
},
"devDependencies": {
"auto-bind": "^1.1.0",
"ava": "^0.22.0",
"cross-env": "^5.0.5",
"debug": "^3.1.0",
"eslint": "^4.5.0",
"eslint-config-prettier": "latest",
"eslint-plugin-prettier": "latest",
"husky": "^0.14.3",
"js2dts": "^0.3.2",
"lint-staged": "^4.0.4",
"nyc": "^11.1.0",
"prettier": "^1.6.1",
"xo": "latest"
},
"engines": {
"node": ">=8.3"
},
"homepage": "https://github.com/wangshijun/mixin-node-client",
"keywords": [
"mixin",
"blockchain",
"lass",
"node.js",
"crypto"
],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
"prettier",
"git add"
]
},
"main": "lib/index.js",
"nyc": {
"check-coverage": true,
"lines": 40,
"functions": 25,
"branches": 20,
"reporter": [
"lcov",
"html",
"text"
]
},
"repository": {
"type": "git",
"url": "https://github.com/wangshijun/mixin-node-client"
},
"xo": {
"extends": "prettier",
"plugins": [
"prettier"
],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"unicorn/number-literal-case": "off",
"prettier/prettier": [
"error",
{
"printWidth": 120,
"tabWidth": 2,
"trailingComma": "es5",
"jsxBracketSameLine": true,
"semi": true,
"singleQuote": true,
"bracketSpacing": true
}
],
"max-len": [
"error",
{
"code": 120,
"ignoreUrls": true
}
],
"valid-jsdoc": "off",
"unicorn/prefer-add-event-listener": "off",
"promise/prefer-await-to-then": "off",
"capitalized-comments": "off",
"camelcase": "off",
"unicorn/import-index": "off",
"import/newline-after-import": "off",
"no-warning-comments": "off"
},
"space": true
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"lint": "xo",
"precommit": "lint-staged && npm run test",
"prepublish": "npm run generate-dts",
"test": "npm run lint && npm run test-coverage",
"generate-dts": "j2d lib/index.js && ./tools/patch-dts.sh && node tools/generate-dts.js",
"test-coverage": "cross-env NODE_ENV=test nyc ava"
}
}