backend: Read mtgox-weekly.json from dist

This commit is contained in:
Erik Arvstedt
2022-07-13 12:44:31 +02:00
parent 6d6e7ce108
commit a4d54dec47
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
"main": "index.ts",
"scripts": {
"tsc": "./node_modules/typescript/bin/tsc -p tsconfig.build.json",
"build": "npm run tsc",
"build": "npm run tsc && cp ./src/tasks/price-feeds/mtgox-weekly.json ./dist/tasks/",
"start": "node --max-old-space-size=2048 dist/index.js",
"start-production": "node --max-old-space-size=4096 dist/index.js",
"test": "./node_modules/.bin/jest --coverage",