ops: Add npm run scripts for backend reindexing

This commit is contained in:
wiz 2023-05-29 14:09:28 -03:00
parent c758a3538b
commit 27154da191
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -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",