diff --git a/package.json b/package.json index 8940fbe..01b05dd 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,14 @@ "build:circuit:contract": "npx snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json", "build:circuit": "mkdir -p build/circuits && npm run build:circuit:compile && npm run build:circuit:setup && npm run build:circuit:bin && npm run build:circuit:contract", "build:contract": "npx truffle compile", + "build:browserify": "npx browserify cli.js -o index.js --exclude worker_threads", + "build": "npm run build circuit && npm run build contract && npm run build:browserify", + "browserify": "npm run build:browserify", "test": "npx truffle test", - "migrate": "npx truffle migrate --network kovan --reset", - "migrate:mainnet": "npx truffle migrate --network mainnet", + "migrate": "npm run migrate:kovan", "migrate:dev": "npx truffle migrate --network development --reset", - "browserify": "npx browserify cli.js -o index.js --exclude worker_threads", + "migrate:kovan": "npx truffle migrate --network kovan --reset", + "migrate:mainnet": "npx truffle migrate --network mainnet", "eslint": "npx eslint --ignore-path .gitignore .", "flat": "truffle-flattener contracts/ETHMixer.sol > ETHMixer_flat.sol contracts/ERC20Mixer.sol > ERC20Mixer_flat.sol" },