2019-05-27 10:33:22 -07:00
|
|
|
{
|
|
|
|
|
"name": "explorer",
|
2021-02-05 18:32:01 -07:00
|
|
|
"version": "1.99.0",
|
2019-05-27 10:33:22 -07:00
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
2021-04-17 13:26:05 -06:00
|
|
|
"start": "npm run prestart && $(which node) --stack-size=10000 ./bin/cluster",
|
|
|
|
|
"stop": "sh ./scripts/stop_explorer.sh",
|
|
|
|
|
"start-instance": "npm run prestart && $(which node) --stack-size=10000 ./bin/instance",
|
|
|
|
|
"start-forever": "npm run prestart \"forever\" && $(which node) $(which forever) start ./bin/cluster",
|
|
|
|
|
"stop-forever": "$(which node) $(which forever) stop ./bin/cluster",
|
|
|
|
|
"start-pm2": "npm run prestart \"pm2\" && $(which pm2) start ./bin/instance -i 0 --node-args=\"--stack-size=10000\"",
|
|
|
|
|
"start-pm2-debug": "npm run prestart \"pm2\" && $(which pm2) start ./bin/instance -i 0 --node-args=\"--stack-size=10000\" && $(which pm2) logs",
|
|
|
|
|
"stop-pm2": "$(which pm2) stop ./bin/instance",
|
|
|
|
|
"test": "$(which node) ./node_modules/jasmine/bin/jasmine.js test/*Spec.js",
|
2021-11-21 13:30:26 -07:00
|
|
|
"prestart": "sh ./scripts/prestart.sh",
|
|
|
|
|
"sync-blocks": "sh ./scripts/sync.sh $(which node) update",
|
|
|
|
|
"sync-markets": "sh ./scripts/sync.sh $(which node) market",
|
|
|
|
|
"sync-peers": "sh ./scripts/sync.sh $(which node) peers",
|
|
|
|
|
"sync-masternodes": "sh ./scripts/sync.sh $(which node) masternodes",
|
|
|
|
|
"check-blocks": "sh ./scripts/sync.sh $(which node) check",
|
|
|
|
|
"reindex": "sh ./scripts/sync.sh $(which node) reindex",
|
|
|
|
|
"reindex-rich": "sh ./scripts/sync.sh $(which node) reindex-rich",
|
|
|
|
|
"reindex-txcount": "sh ./scripts/sync.sh $(which node) reindex-txcount",
|
|
|
|
|
"reindex-last": "sh ./scripts/sync.sh $(which node) reindex-last"
|
2019-05-27 10:33:22 -07:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"express": ">=4.17.1",
|
2021-12-04 12:44:35 -07:00
|
|
|
"async": "^3.2.2",
|
2020-11-20 16:28:28 -07:00
|
|
|
"intl": "^1.2.5",
|
2019-05-27 10:33:22 -07:00
|
|
|
"serve-favicon": "^2.5.0",
|
2021-12-04 12:44:35 -07:00
|
|
|
"morgan": ">=1.10.0",
|
|
|
|
|
"cookie-parser": "^1.4.6",
|
|
|
|
|
"body-parser": "^1.19.0",
|
|
|
|
|
"debug": ">=4.3.3",
|
|
|
|
|
"pug": "~3.0.2",
|
|
|
|
|
"postman-request": "^2.88.1-postman.30",
|
|
|
|
|
"jsonminify": "^0.4.1",
|
2020-11-20 20:27:02 -07:00
|
|
|
"jstransformer-markdown-it": "^2.1.0",
|
2021-12-04 12:44:35 -07:00
|
|
|
"mongodb": "^4.2.1",
|
|
|
|
|
"mongoose": "^6.0.14",
|
|
|
|
|
"qr-image": "^3.2.0",
|
|
|
|
|
"sass": "^1.44.0",
|
|
|
|
|
"json": "^11.0.0",
|
|
|
|
|
"strip-json-comments-cli": "^2.0.1",
|
|
|
|
|
"bad-words": "^3.0.4"
|
2019-05-27 10:33:22 -07:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2021-12-04 12:44:35 -07:00
|
|
|
"jasmine": ">=3.6.3"
|
2019-05-27 10:33:22 -07:00
|
|
|
}
|
2019-06-07 20:05:28 -06:00
|
|
|
}
|