Skip to content

Commit

Permalink
Adds prepare script to package.json to trigger compilation on npm ins…
Browse files Browse the repository at this point in the history
…tall
  • Loading branch information
asyed94 authored May 21, 2024
1 parent 43f6f47 commit d40eae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts/**/*"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run build-rust-release && npm run build-node",
"build-node": "tsc -p .",
"build-rust": "cargo-cp-artifact --artifact cdylib shardus_net shardus-net.node -- cargo build --message-format=json-render-diagnostics",
Expand Down

0 comments on commit d40eae0

Please sign in to comment.