Files
purple-explorer/package.json
T
Joe Uhren 59cee58cb0 Update node dependencies + fix breaking changes
-All node dependencies are up-to-date in package.json
-Updated semantic versioning of some node dependencies in package.json
-Applied fixes to necessary explorer files to fix breaking changes to mongoose dependency
-Update README with new Node.js and MongoDB version recommendations

NOTE: Node.js must be updated to at least v14.13.1 to fix breaking errors in a few of the updated dependencies
2021-12-04 12:44:35 -07:00

50 lines
2.1 KiB
JSON

{
"name": "explorer",
"version": "1.99.0",
"private": true,
"scripts": {
"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",
"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"
},
"dependencies": {
"express": ">=4.17.1",
"async": "^3.2.2",
"intl": "^1.2.5",
"serve-favicon": "^2.5.0",
"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",
"jstransformer-markdown-it": "^2.1.0",
"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"
},
"devDependencies": {
"jasmine": ">=3.6.3"
}
}