Files
purple-explorer/package.json
T
Joe Uhren 2df86b73f3 Update mongodb dependency to 6.x
-Although the explorer still seems to work fine with older node.js versions, the mongodb 6.x docs indicate that the minimum supported version is v16.20.1 and therefore the explorer has been updated to also enforce this as the min version to help prevent future problems
-A small fix was applied to the prestart script that was previously not stopping execution of the explorer when an older version of node.js was found. This was bug only affected running the explorer with `npm start`
2023-09-17 17:40:22 -06:00

56 lines
2.1 KiB
JSON

{
"name": "explorer",
"version": "1.102.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"
},
"dependencies": {
"async": "^3.2.4",
"bad-words": "^3.0.4",
"body-parser": "^1.20.0",
"cookie-parser": "^1.4.6",
"debug": ">=4.3.4",
"express": ">=4.18.1",
"intl": "^1.2.5",
"jsonminify": "^0.4.2",
"mongodb": "^6.1.0",
"mongoose": "^7.1.0",
"morgan": ">=1.10.0",
"postman-request": "^2.88.1-postman.31",
"pug": "~3.0.2",
"qr-image": "^3.2.0",
"readline-sync": "^1.4.10",
"sass": "^1.52.3",
"serve-favicon": "^2.5.0"
},
"devDependencies": {
"forever": "^4.0.3",
"jasmine": ">=4.2.0",
"pm2": "^5.2.0"
}
}