Skip to content

Commit

Permalink
Updated to compile the changes before starting a service
Browse files Browse the repository at this point in the history
  • Loading branch information
jairajdev committed May 8, 2024
1 parent c5f35a6 commit 8e34439
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"private": true,
"main": "dist/collector.js",
"scripts": {
"collector": "node dist/collector.js",
"server": "node dist/server.js",
"collector": "npm run prepare && node dist/collector.js",
"server": "npm run prepare && node dist/server.js",
"server:watch": "nodemon",
"log_server": "node dist/log_server.js",
"data_patcher": "node dist/data_patcher.js",
"log_server": "npm run prepare && node dist/log_server.js",
"lint": "eslint './src/**/*.ts'",
"lint-windows": "eslint ./src/**/*.ts",
"test": "echo \"Error: no test specified\" && exit 1",
Expand All @@ -17,7 +16,7 @@
"compile": "tsc -p .",
"fix": "gts fix",
"prepare": "npm run compile",
"flush": "rm -fr db.sqlite3* shardeum.sqlite*"
"flush": "rm -fr db.sqlite3* shardeum.sqlite* data-logs/"
},
"dependencies": {
"@ethereumjs/block": "^5.0.0",
Expand Down

0 comments on commit 8e34439

Please sign in to comment.