-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.43 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
{
"name": "bobcoin-node",
"version": "2.4.0",
"description": "Node which hosts and synchronizes a copy of the entire Bobcoin blockchain.",
"main": "src/index.ts",
"scripts": {
"build": "tsc",
"dev": "nodemon src/index.ts",
"dev:mainnet:alpha": "cross-env DOTENV_CONFIG_PATH=alpha.mainnet.env nodemon -r dotenv/config src/index.ts",
"dev:testnet:alpha": "cross-env DOTENV_CONFIG_PATH=alpha.testnet.env nodemon -r dotenv/config src/index.ts",
"dev:testnet:beta": "cross-env DOTENV_CONFIG_PATH=beta.testnet.env nodemon -r dotenv/config src/index.ts",
"start": "node dist/index.js",
"postinstall": "tsc",
"dump:testnet:alpha": "cross-env DOTENV_CONFIG_PATH=alpha.testnet.env ts-node -r dotenv/config src/scripts/dumpBlockchain.ts",
"read": "ts-node src/scripts/readBlockchain.ts dumps/mainnet.json",
"prune:mainnet:alpha": "cross-env DOTENV_CONFIG_PATH=alpha.mainnet.env ts-node -r dotenv/config src/scripts/pruneBlockchain.ts",
"prune:testnet:alpha": "cross-env DOTENV_CONFIG_PATH=alpha.testnet.env ts-node -r dotenv/config src/scripts/pruneBlockchain.ts",
"mine": "ts-node src/scripts/mine.ts",
"fork-miner": "cross-env DOTENV_CONFIG_PATH=alpha.mainnet.env ts-node -r dotenv/config src/scripts/forkMiner.ts",
"aws-deploy": "git pull && npm run build && pm2 restart 0",
"delete": "ts-node src/scripts/deleteBlocks.ts",
"profile": "npm run build && clinic doctor -- node dist/index.js"
},
"nodemonConfig": {
"ignore": [
"src/scripts/*"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/BobShoaun/Bobcoin-Backend-Node.git"
},
"author": "Bob Shoaun Ng",
"license": "MIT",
"bugs": {
"url": "https://github.com/BobShoaun/Bobcoin-Backend-Node/issues"
},
"homepage": "https://github.com/BobShoaun/Bobcoin-Backend-Node#readme",
"dependencies": {
"axios": "^0.25.0",
"blockcrypto": "^4.1.0",
"cors": "^2.8.5",
"date-fns": "^2.28.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-queue": "^0.0.13",
"express-rate-limit": "^6.6.0",
"mongoose": "^5.12.5",
"morgan": "^1.10.0",
"socket.io": "^4.0.1",
"socket.io-client": "^4.5.2"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/mongoose": "^5.11.97",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.10",
"cross-env": "^7.0.3",
"nodemon": "^2.0.7",
"ts-node": "^10.4.0"
},
"engines": {
"node": ">=14"
}
}