mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01:00
organize npm commands
This commit is contained in:
parent
bb80cd9788
commit
6b067f067f
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user