Files
purple-explorer/package.json
T
Joe Uhren 8e32e294b7 Cross-platform support (Win, MacOS, Linux)
-All shell scripts have been removed and replaced with javascript equivalents which allows for better platform independence
-All scripts have been improved over the older shell scripts to be more functional and dynamic
-Updated all applicable cmds in the package.json to target the new js scripts + added the backup, restore and delete database functions to the list
-Removed the json and strip-json-comments-cli packages as they are no longer needed
-Added a new package realine-sync
-Updated cluster code with better Windows support when shutting down the explorer
-Backup and Restore scripts now use mongo's own encryption instead of tar.gz by default. Older tar.gz backups can still be restored as long as the tar.gz suffix is explicitly added
-Backup and Restore scripts now support connecting to remote database based on the mongo details in settings.json
-Updated README to include a new line for the 'platform independence' feature, updated script cmds and notes about certain steps being Linux only
2022-04-23 11:28:32 -06:00

52 lines
2.1 KiB
JSON

{
"name": "explorer",
"version": "1.99.0",
"private": true,
"scripts": {
"start": "npm run prestart && node --stack-size=10000 ./bin/cluster",
"stop": "node ./scripts/stop_explorer.js",
"start-instance": "npm run prestart && node --stack-size=10000 ./bin/instance",
"start-forever": "npm run prestart \"forever\" && forever start ./bin/cluster",
"stop-forever": "forever stop ./bin/cluster",
"start-pm2": "npm run prestart \"pm2\" && pm2 start ./bin/instance -i 0 --node-args=\"--stack-size=10000\"",
"start-pm2-debug": "npm run prestart \"pm2\" && pm2 start ./bin/instance -i 0 --node-args=\"--stack-size=10000\" && pm2 logs",
"stop-pm2": "pm2 stop ./bin/instance",
"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"
},
"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",
"bad-words": "^3.0.4",
"readline-sync": "^1.4.10"
},
"devDependencies": {
"jasmine": ">=3.6.3"
}
}