-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.19 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
{
"name": "node-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"bitcoindRegtest": "cd bitcoin-0.19.0.1/bin && ./bitcoind -regtest",
"serverRegtest": "network=regtest node server.js",
"bitcoindTestnet": "cd bitcoin-0.19.0.1/bin && ./bitcoind -testnet",
"serverTestnet": "network=testnet nodemon server.js",
"bitcoindMainnet": "cd bitcoin-0.19.0.1/bin && ./bitcoind",
"serverMainnet": "network=mainnet nodemon server.js",
"startRegtest": "npm run bitcoindRegtest && npm run serverRegtest",
"startTestnet": "npm run bitcoindTestnet && npm run serverTestnet",
"startMainnet": "npm run bitcoindMainnet && npm run serverMainnet",
"initRegtest": "cd bitcoin-0.19.0.1/bin && ./init.sh 2N5aWLahighZA4EVJUcmFYM528N4sk92EsX",
"env": "cp ./bitcoin.conf ~/.bitcoin/",
"stop": "cd bitcoin-0.19.0.1/bin && ./bitcoin-cli stop"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.21.2",
"bitcoinjs-lib": "^5.1.7",
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"request": "^2.88.0",
"sqlite3": "^4.1.1"
},
"devDependencies": {
"nodemon": "^2.0.2"
}
}