-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 3.02 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
{
"engines": {
"node": ">=12.21.0",
"npm": ">=6.14.11"
},
"name": "overhide-bitcoin",
"version": "1.0.0",
"description": "Bitcoin Remuneration API for overhide",
"main": "main/js/overhide-bitcoin.js",
"keywords": [
"overhide",
"bitcoin",
"remuneration",
"api"
],
"author": "Jakub Ner",
"license": "MIT",
"dependencies": {
"@godaddy/terminus": "4.1.0",
"@keyv/redis": "1.3.8",
"applicationinsights": "2.1.4",
"bitcoinjs-lib": "4.0.5",
"bitcoinjs-message": "2.2.0",
"cors": "2.8.5",
"debug": "4.1.0",
"ejs": "2.6.1",
"express": "4.16.4",
"express-rate-limit": "3.3.2",
"js-yaml": "^3.13.1",
"keyv": "3.1.0",
"license-compatibility-checker": "^0.3.4",
"node-fetch": "2.3.0",
"pg": "8.5.1",
"rate-limit-redis": "2.1.0",
"read": "1.0.7",
"run-script-os": "1.0.3",
"swagger-jsdoc": "^3.2.9",
"uuid": "3.3.2"
},
"config": {
"HOST": "localhost",
"PORT": 8080,
"BASE_URL": "localhost:8080",
"DEBUG": "",
"TOKEN_URL": "https://token.overhide.io/validate",
"SALT": "",
"ISPROD": "",
"INTERNAL_TOKEN": "",
"NETWORK_TYPE": "",
"RATE_LIMIT_FE_WINDOW_MS": 1000,
"RATE_LIMIT_FE_MAX_REQUESTS_PER_WINDOW": 100,
"RATE_LIMIT_FE_REDIS_URI": "",
"RATE_LIMIT_FE_REDIS_NAMESPACE": "",
"RATE_LIMIT_BE_WINDOW_MS": 1000,
"RATE_LIMIT_BE_MAX_REQUESTS_PER_WINDOW": 100,
"RATE_LIMIT_BE_REDIS_URI": "",
"RATE_LIMIT_BE_REDIS_NAMESPACE": "",
"KEYV_TALLY_CACHE_URI": "",
"EXPECTED_CONFIRMATIONS": 2,
"POSTGRES_HOST": "localhost",
"POSTGRES_PORT": 5432,
"POSTGRES_DATABASE": "",
"POSTGRES_USER": "",
"POSTGRES_PASSWORD": "",
"POSTGRES_SSL": ""
},
"devDependencies": {
"chai": "4.2.0",
"chai-http": "4.2.0",
"mocha": "5.2.0",
"mocha-junit-reporter": "1.22.0",
"mock-require": "3.0.3",
"nodemon": "2.0.7"
},
"scripts": {
"lic-check": "license-compatibility-checker",
"start": "node main/js/overhide-bitcoin.js",
"test": "mocha --exit --timeout 5000 test/js",
"test-report": "mocha --exit --timeout 5000 test/js --reporter mocha-junit-reporter --reporter-options toConsole=true,mochaFile=test-report/test-report.xml",
"dev": "nodemon --inspect main/js/overhide-bitcoin.js",
"build": "docker build -t oh-btc -f main/docker/Dockerfile .",
"compose-dev": "docker-compose -f main/docker/docker-compose.yml -f main/docker/docker-compose.dev.yml --project-directory . --project-name oh up -d",
"clean": "run-script-os",
"clean:win32": "@powershell docker rm (docker kill (docker ps -a -q --filter name=oh-btc)) ; docker rmi oh-btc:latest",
"clean:darwin:freebsd:linux:sunos": "docker rm $(docker kill $(docker ps -a -q --filter name=oh-btc)) ; docker rmi oh-btc:latest",
"psql-dev": "docker run -it --rm --link postgres:postgres -e PGPASSWORD=c0c0nut --network oh_default postgres psql -h postgres -U adam -d postgres",
"redis-cli": "docker exec -it redis redis-cli",
"db-evolve": "node tools/db-evolve/db-evolve.js"
}
}