forked from diva-exchange/divachain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.84 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
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
{
"name": "@diva.exchange/divachain",
"version": "0.37.0",
"description": "diva - Distributed value exchange upholding security, reliability and privacy",
"bin": "dist/main.js",
"keywords": [
"blockchain",
"pbft",
"bft",
"consensus",
"diva.exchange",
"p2p",
"i2p"
],
"author": "DIVA.EXCHANGE Association <contact@diva.exchange> (https://diva.exchange)",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/diva-exchange/divachain.git"
},
"scripts": {
"build": "bin/build.sh",
"clean": "rm -rf dist/*",
"lint": "prettier -w \"**/*.ts\" && eslint --fix src/ test/ --ext .ts",
"start": "NODE_ENV=production node dist/main.js | pino-pretty -t -i pid,hostname",
"start-dev": "IS_TESTNET=1 BOOTSTRAP=http://diva.i2p/testnet IP=0.0.0.0 I2P_SOCKS_HOST=172.19.75.11 I2P_SAM_HTTP_HOST=172.19.75.11 I2P_SAM_UDP_HOST=172.19.75.12 I2P_SAM_FORWARD_HTTP_HOST=172.19.75.1 I2P_SAM_FORWARD_UDP_HOST=172.19.75.1 NODE_ENV=development ts-node --files src/main.ts | pino-pretty -t -i pid,hostname",
"test": "TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test LOG_LEVEL=trace DEBUG_PERFORMANCE=1 nyc mocha",
"clean-test": "test/bin/clean-testenv.sh"
},
"pkg": {
"scripts": "dist/**/*.js",
"assets": [
"dist/schema/**/*",
"dist/version",
"genesis/*",
"node_modules/sodium-native/prebuilds/linux-x64/*"
],
"targets": [
"node16-linux-x64"
]
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@diva.exchange/i2p-sam": "^4.1.5",
"ajv": "^8.11.2",
"compression": "^1.7.4",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"level": "^8.0.0",
"nanoid": "^3.3.4",
"pino": "^8.7.0",
"rfc4648": "^1.5.2",
"simple-get": "^4.0.1",
"socks-proxy-agent": "^7.0.0",
"sodium-native": "^3.4.1",
"ws": "^8.11.0"
},
"devDependencies": {
"@cspotcode/source-map-support": "^0.8.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@testdeck/mocha": "^0.3.2",
"@tsconfig/node16": "^1.0.3",
"@types/chai": "^4.3.4",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.14",
"@types/express-serve-static-core": "^4.17.31",
"@types/http-errors": "^2.0.1",
"@types/level": "^6.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@types/sodium-native": "^2.3.5",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"ajv-cli": "^5.0.0",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"pino-pretty": "^9.1.1",
"pkg": "^5.8.0",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
}