80ecf19ac5
-Main update is to add support for express v5.x which required some code changes to a few of the public and wallet api routes -Removed the body-parser dependency and replaced with express which now has the same functionaliuty built-in and is no longer necessary to have a dedicated dependency -All dependencies in the package.json have been updated to reference the most up-to-date version numbers
55 lines
2.1 KiB
JSON
55 lines
2.1 KiB
JSON
{
|
|
"name": "explorer",
|
|
"version": "1.103.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "node --stack-size=10000 ./bin/cluster",
|
|
"stop": "node ./scripts/stop_explorer.js",
|
|
"start-instance": "npm run prestart && node --stack-size=10000 ./bin/cluster 1",
|
|
"start-forever": "npm run prestart \"forever production\"",
|
|
"stop-forever": "forever stop \"explorer\"",
|
|
"reload-forever": "forever restart \"explorer\"",
|
|
"start-pm2": "npm run prestart \"pm2 production\"",
|
|
"start-pm2-debug": "npm run prestart \"pm2 development\" && pm2 logs",
|
|
"stop-pm2": "pm2 stop explorer",
|
|
"reload-pm2": "pm2 reload explorer",
|
|
"test": "node ./node_modules/jasmine/bin/jasmine.js test/*Spec.js",
|
|
"prestart": "node ./scripts/prestart.js",
|
|
"sync-blocks": "node ./scripts/sync.js index update",
|
|
"sync-markets": "node ./scripts/sync.js market",
|
|
"sync-peers": "node ./scripts/sync.js peers",
|
|
"sync-masternodes": "node ./scripts/sync.js masternodes",
|
|
"check-blocks": "node ./scripts/sync.js index check",
|
|
"reindex": "node ./scripts/sync.js index reindex",
|
|
"reindex-rich": "node ./scripts/sync.js index reindex-rich",
|
|
"reindex-txcount": "node ./scripts/sync.js index reindex-txcount",
|
|
"reindex-last": "node ./scripts/sync.js index reindex-last",
|
|
"create-backup": "node ./scripts/create_backup.js",
|
|
"restore-backup": "node ./scripts/restore_backup.js",
|
|
"delete-database": "node ./scripts/delete_database.js",
|
|
"update-explorer": "node ./scripts/update_explorer.js",
|
|
"benchmark": "node ./scripts/benchmark.js"
|
|
},
|
|
"dependencies": {
|
|
"async": "^3.2.6",
|
|
"bad-words": "^4.0.0",
|
|
"cookie-parser": "^1.4.7",
|
|
"debug": "^4.4.0",
|
|
"express": "^5.1.0",
|
|
"intl": "^1.2.5",
|
|
"jsonminify": "^0.4.2",
|
|
"mongodb": "^6.15.0",
|
|
"mongoose": "^8.13.2",
|
|
"morgan": "^1.10.0",
|
|
"postman-request": "^2.88.1-postman.42",
|
|
"pug": "~3.0.3",
|
|
"qr-image": "^3.2.0",
|
|
"sass": "^1.86.3",
|
|
"serve-favicon": "^2.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"forever": "^4.0.3",
|
|
"jasmine": "^5.6.0",
|
|
"pm2": "^6.0.5"
|
|
}
|
|
} |