mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 21:32:55 +01:00
ops: Add npm run scripts for backend reindexing
This commit is contained in:
parent
c758a3538b
commit
27154da191
@ -28,6 +28,8 @@
|
||||
"package-rm-build-deps": "(cd package/node_modules; rm -r typescript @typescript-eslint)",
|
||||
"start": "node --max-old-space-size=2048 dist/index.js",
|
||||
"start-production": "node --max-old-space-size=16384 dist/index.js",
|
||||
"reindex-updated-pools": "npm run start-production --update-pools",
|
||||
"reindex-all-blocks": "npm run start-production --update-pools --reindex-blocks",
|
||||
"test": "./node_modules/.bin/jest --coverage",
|
||||
"lint": "./node_modules/.bin/eslint . --ext .ts",
|
||||
"lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix",
|
||||
|
Loading…
Reference in New Issue
Block a user