-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
77 lines (77 loc) · 2.7 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
{
"name": "rsk-explorer-api",
"version": "2.2.0",
"description": "RSK Explorer API",
"main": "index.js",
"scripts": {
"dev": "npx nodemon src/api | ./node_modules/.bin/bunyan -o short",
"build": "npm run lint && npm run clean && npm run api-docs && ./node_modules/.bin/babel src -d dist --copy-files",
"clean": "rm -rf dist && rm -f .node-xmlhttprequest-sync*",
"md": "mkdir dist",
"status": "npx nodemon src/tools/statusClient.js",
"abi": "npx nodemon src/lib/ContractParser/compileJsonAbis.js",
"lint": "npx eslint src/**/* --quiet",
"test": "npx mocha",
"api-docs": "mkdir -p public && npx babel-node src/api/makeOpenApiSpec.js > public/swagger.json",
"start-api": "mkdir -p logs/api && pm2 start dist/api/api.pm2.config.js",
"stop-api": "pm2 stop dist/api/api.pm2.config.js",
"api-logs-pretty": "pm2 logs explorer-api --raw | npx bunyan -o short",
"api-logs-raw": "pm2 logs explorer-api --raw",
"clear-api-logs": "pm2 flush explorer-api",
"start-blocks": "mkdir -p logs/blocks && pm2 start dist/services/blocks.pm2.config.js",
"stop-blocks": "pm2 stop dist/services/blocks.pm2.config.js",
"blocks-logs-pretty": "pm2 logs blocks --raw | npx bunyan -o short",
"blocks-logs-raw": "pm2 logs --raw",
"clear-blocks-logs": "pm2 flush blocks",
"stop-all": "npm run stop-api && npm run stop-blocks"
},
"repository": {
"type": "git",
"url": "https://github.com/rsksmart/rsk-explorer-api.git"
},
"keywords": [
"rsk",
"explorer"
],
"author": "emi",
"license": "MIT",
"homepage": "https://github.com/rsksmart/rsk-explorer-api",
"dependencies": {
"@prisma/client": "^5.11.0",
"@rsksmart/nod3": "^0.5.0",
"@rsksmart/rsk-contract-parser": "^1.0.4",
"@rsksmart/rsk-js-cli": "^1.0.0",
"@rsksmart/rsk-utils": "^1.1.0",
"bignumber.js": "^7.2.1",
"body-parser": "^1.19.0",
"bunyan": "^2.0.4",
"cron": "^3.1.7",
"express": "^4.17.1",
"prom-client": "^15.1.0",
"rlp": "^2.2.5",
"rsk-openapi-ui": "^0.0.7",
"socket.io": "^2.2.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.11.5",
"axios": "^1.5.0",
"chai": "^4.2.0",
"deep-equal-in-any-order": "^2.0.6",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"mocha": "^7.2.0",
"nodemon": "^2.0.4",
"prisma": "^5.11.0",
"swagger-jsdoc": "^3.2.9",
"swagger-markdown": "^1.4.2"
}
}