Skip to content

Commit

Permalink
Move configure script to postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Duddino committed Jan 5, 2024
1 parent 5d3b4e7 commit 6234d4b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"main": "scripts/index.js",
"type": "module",
"scripts": {
"config": "test -f chain_params.json || cp chain_params.prod.json chain_params.json",
"prebuild": "npm run config",
"predev": "npm run config",
"prewatch": "npm run config",
"pretest": "npm run config",
"precoverage": "npm run config",
"postinstall": "test -f chain_params.json || cp chain_params.prod.json chain_params.json",
"build": "webpack --config webpack.prod.js",
"watch": "webpack --watch",
"dev": "webpack serve --config webpack.dev.js",
Expand Down

0 comments on commit 6234d4b

Please sign in to comment.