-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
91 lines (91 loc) · 3.74 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": "@shardeum-foundation/json-rpc-server",
"version": "1.2.0-prerelease.0",
"description": "JSON RPC server for Shardeum",
"main": "src/server.js",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"start": "rm -rf dist && npm run compile && node dist/src/server.js",
"dev": "nodemon",
"compile": "tsc -p .",
"clean-log": "rm -rf ./log",
"tail-request-logs": "tail -f ./logs/requests.log | pino-pretty",
"lint": "eslint \"./src/**/*.ts\"",
"update-docker-dev": "docker build -t registry.gitlab.com/shardeum/json-rpc-server:dev . --push",
"format-check": "prettier --check \"./src/**/*.ts\"",
"format-fix": "prettier --write \"./src/**/*.ts\"",
"check-patches": "node -e \"const { execSync } = require('child_process'); const patches = require('fs').readdirSync('.').filter(f => f.endsWith('.patch')); if (patches.length > 0) { let allPassed = true; patches.forEach(patch => { try { execSync('git apply --verbose --check ' + patch, { stdio: 'inherit' }); console.log('✔ ' + patch + ' can be applied successfully.'); } catch { console.error('✘ ' + patch + ' failed to apply.'); allPassed = false; } }); if (!allPassed) process.exit(1); } else { console.log('No patch files found.'); }\"",
"release:prepatch": "npm run compile && npm version prepatch --preid=prerelease && git push --follow-tags",
"release:preminor": "npm run compile && npm version preminor --preid=prerelease && git push --follow-tags",
"release:premajor": "npm run compile && npm version premajor --preid=prerelease && git push --follow-tags",
"release:prerelease": "npm run compile && npm version prerelease --preid=prerelease && git push --follow-tags",
"release:patch": "npm run compile && npm version patch && git push --follow-tags",
"release:minor": "npm run compile && npm version minor && git push --follow-tags",
"release:major": "npm run compile && npm version major && git push --follow-tags"
},
"author": "thantsintoe",
"license": "ISC",
"dependencies": {
"@shardeum-foundation/lib-archiver-discovery": "1.3.0-prerelease.0",
"@shardeum-foundation/lib-crypto-utils": "4.3.0-prerelease.0",
"@shardeum-foundation/lib-types": "1.4.0-prerelease.0",
"@ethereumjs/rlp": "5.0.2",
"@ethereumjs/tx": "3.4.0",
"@ethereumjs/util": "9.0.2",
"@ethersproject/bignumber": "5.7.0",
"@hapi/sntp": "4.0.0",
"axios": "1.6.1",
"better-sqlite3": "7.6.2",
"body-parser": "1.19.0",
"connect": "3.7.0",
"cookie-parser": "1.4.6",
"cors": "2.8.5",
"eth-rpc-errors": "4.0.3",
"ethereumjs-util": "7.1.3",
"execa": "5.1.1",
"express": "4.17.2",
"express-rate-limit": "7.4.0",
"got": "11.8.6",
"jayson": "3.6.5",
"jsonwebtoken": "9.0.0",
"merkle-patricia-tree": "4.2.4",
"pino": "9.6.0",
"pm2": "5.3.0",
"ts-node": "10.9.1",
"typescript": "4.5.5",
"web3": "4.8.0",
"ws": "8.13.0"
},
"devDependencies": {
"@types/better-sqlite3": "7.5.0",
"@types/cookie-parser": "1.4.3",
"@types/cors": "2.8.13",
"@types/express": "4.17.15",
"@types/hapi__sntp": "3.1.4",
"@types/jest": "29.5.14",
"@types/jsonwebtoken": "8.5.9",
"@types/node": "18.19.1",
"@types/ws": "8.5.4",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.60.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-no-unsanitized": "4.0.2",
"eslint-plugin-security": "1.5.0",
"eslint-plugin-xss": "0.1.12",
"jest": "29.7.0",
"nodemon": "2.0.22",
"pino-pretty": "13.0.0",
"ts-jest": "29.2.5"
},
"overrides": {
"semver": "7.5.3",
"optionator": "0.9.3",
"qs": "6.11.2",
"systeminformation": "5.21.7",
"axios": "1.6.1"
},
"publishConfig": {
"access": "public"
}
}