-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.42 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.42 KB
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
{
"name": "tomoprivacyjs",
"version": "0.5.0",
"description": "Tomo privacy wallet apis.",
"homepage": "https://github.com/tomochain/privacyjs",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/tomochain/privacyjs"
},
"author": "anhnt@tomochain",
"license": "MIT",
"keywords": [
"bitcoin",
"steatlth",
"addresses",
"privacy"
],
"main": "dist/index.js",
"jsnext:main": "dist/index.es.js",
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-proposal-class-properties"
],
"env": {
"production": {
"presets": [
"@babel/preset-env",
"@babel/preset-flow",
[
"babel-preset-minify",
{
"builtIns": false,
"evaluate": false,
"mangle": false
}
]
]
}
}
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb-base"
},
"dependencies": {
"@babel/polyfill": "^7.7.0",
"@truffle/hdwallet-provider": "^1.0.24",
"bn.js": "^5.0.0",
"bs58": "^2.0.1",
"dom-storage": "^2.1.0",
"ecurve": "^1.0.1",
"elliptic": "^6.5.1",
"eventemitter3": "^4.0.0",
"isomorphic-fetch": "^2.2.1",
"js-sha3": "^0.8.0",
"lodash": "^4.17.15",
"number-to-bn": "^1.7.0",
"utf8": "^3.0.0",
"web3": "^1.2.5"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.6.1",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-eslint": "^10.0.3",
"babel-minify": "^0.5.1",
"babel-preset-minify": "^0.5.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chain": "^0.1.3",
"coveralls": "^3.0.9",
"del": "^2.2.2",
"easystatic": "^0.1.12",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-mocha": "^6.2.0",
"flow-bin": "^0.109.0",
"husky": "^3.0.9",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^6.0.0",
"nodemon": "^1.19.2",
"nyc": "^13.1.0",
"rollup": "^0.67.3",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^3.4.0",
"sinon": "^7.5.0"
},
"scripts": {
"start": "nodemon --exec babel-node index.js",
"lint": "eslint src --fix",
"test": "npm run lint && mocha --config './.mocharc.yaml' --recursive --require @babel/register --exit",
"testcase": "npm run lint && mocha --require @babel/register --exit -g ",
"test:watch": "npm run lint && mocha --config './.mocharc.yaml' --recursive --require @babel/register --reporter min --watch",
"test:cover": "npm run lint && nyc npm test",
"coveralls": "npm run lint && nyc npm test && nyc report --reporter=text-lcov > coverage.lcov",
"build": "npm run lint && node tools/build",
"minify": "minify ./dist/*.js --out-dir ./dist/",
"prepublish": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}