🛠 Refactor to use commands

This commit is contained in:
Dennis Reimann
2020-11-10 11:17:07 +01:00
parent d1b2052494
commit 0e571e8965
7 changed files with 89 additions and 107 deletions

View File

@@ -7,10 +7,10 @@
"license": "MIT",
"main": "stack.js",
"scripts": {
"stack-sats": "node stack.js",
"withdraw-sats": "node withdraw.js",
"test:stack-sats": "node stack.js --validate",
"test:withdraw-sats": "node withdraw.js --validate"
"stack-sats": "node index.js --cmd=stack",
"withdraw-sats": "node index.js --cmd=withdraw",
"test:stack-sats": "node index.js --cmd=stack --validate",
"test:withdraw-sats": "node index.js --cmd=withdraw --validate"
},
"dependencies": {
"kraken-api": "1.0.0"