-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
74 lines (74 loc) · 2.82 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
{
"name": "hathor-wallet-headless",
"version": "0.33.0",
"description": "Hathor Wallet Headless, i.e., without graphical user interface",
"main": "index.js",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"dependencies": {
"@dinamonetworks/hsm-dinamo": "4.9.1",
"@hathor/healthcheck-lib": "0.1.0",
"@hathor/wallet-lib": "2.0.1",
"axios": "1.7.7",
"express": "4.18.2",
"express-validator": "6.10.0",
"validator": "13.11.0",
"jsonwebtoken": "9.0.2",
"lodash": "4.17.21",
"morgan": "1.10.0",
"uuid4": "2.0.3",
"winston": "3.12.0",
"yargs": "17.7.2"
},
"scripts": {
"build": "babel src -d dist --source-maps",
"build-scripts": "babel scripts -d dist-scripts --source-maps",
"dev": "nodemon --exec babel-node src/index.js",
"start": "npm run build && node dist/index.js",
"test": "jest --forceExit --runInBand",
"test_integration": "npm run test_network_up && npm run test_network_integration && npm run test_network_down",
"test_network_up": "docker compose -f ./__tests__/integration/docker-compose.yml up -d && mkdir -p tmp && cp ./__tests__/integration/configuration/precalculated-wallets.json ./tmp/wallets.json",
"test_network_integration": "jest --config jest-integration.config.js --runInBand --forceExit",
"test_network_down": "docker compose -f ./__tests__/integration/docker-compose.yml down && rm ./tmp/wallets.json",
"lint": "eslint .",
"lint_fix": "eslint . --fix",
"generate_wallets": "babel-node scripts/generate_wallets.js",
"docs_convert": "babel-node scripts/convert-docs.js",
"docs_lint": "npx @redocly/cli lint tmp/api-docs.json",
"docs_server": "npx @redocly/cli preview-docs tmp/api-docs.json",
"docs_clean": "rm tmp/api-docs.json",
"docs_build": "npx @redocly/cli build-docs tmp/api-docs.json -o index.html",
"docs": "npm run docs_convert && npm run docs_lint && npm run docs_server && npm run docs_clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HathorNetwork/hathor-wallet-headless.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/HathorNetwork/hathor-wallet-headless/issues"
},
"homepage": "https://github.com/HathorNetwork/hathor-wallet-headless#readme",
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.24.0",
"@babel/eslint-parser": "7.23.10",
"@babel/node": "7.23.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.24.0",
"@types/express": "5.0.0",
"axios-mock-adapter": "1.22.0",
"babel-jest": "29.7.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.29.1",
"jest": "29.7.0",
"mock-socket": "9.3.1",
"nodemon": "3.1.0",
"supertest": "7.0.0",
"superagent": "9.0.2"
}
}