|
@@ -6,7 +6,7 @@
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"start": "node index.js",
|
|
"start": "node index.js",
|
|
|
"withdraw": "node withdraw.js",
|
|
"withdraw": "node withdraw.js",
|
|
|
- "test": "node test.js",
|
|
|
|
|
|
|
+ "test": "mocha",
|
|
|
"secondarySell": "node secondarySell.js",
|
|
"secondarySell": "node secondarySell.js",
|
|
|
"transferToExchange": "node transferToExchange.js"
|
|
"transferToExchange": "node transferToExchange.js"
|
|
|
},
|
|
},
|
|
@@ -19,9 +19,13 @@
|
|
|
"bignumber": "^1.1.0",
|
|
"bignumber": "^1.1.0",
|
|
|
"crypto": "^1.0.1",
|
|
"crypto": "^1.0.1",
|
|
|
"ethereumjs-tx": "1.3.7",
|
|
"ethereumjs-tx": "1.3.7",
|
|
|
|
|
+ "level": "^8.0.0",
|
|
|
"log4js": "^6.7.1",
|
|
"log4js": "^6.7.1",
|
|
|
"node-metamask": "^1.1.2",
|
|
"node-metamask": "^1.1.2",
|
|
|
"request": "^2.88.2",
|
|
"request": "^2.88.2",
|
|
|
"web3": "^1.3.6"
|
|
"web3": "^1.3.6"
|
|
|
|
|
+ },
|
|
|
|
|
+ "devDependencies": {
|
|
|
|
|
+ "mocha": "^10.2.0"
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|