Skip to content

Commit

Permalink
removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
GinMu committed Dec 13, 2019
1 parent 91fbff2 commit f49d71e
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 281 deletions.
7 changes: 1 addition & 6 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#!/bin/bash
npm run build
npx babel ./node_modules/swtc-factory --out-dir ./node_modules/swtc-factory
npx babel ./node_modules/swtc-keypairs --out-dir ./node_modules/swtc-keypairs
npx babel ./node_modules/swtc-chains --out-dir ./node_modules/swtc-chains
npx babel ./node_modules/swtc-address-codec --out-dir ./node_modules/swtc-address-codec
npx babel ./node_modules/abi-decoder --out-dir ./node_modules/abi-decoder
npx babel ./node_modules/ethereum-bloom-filters/dist --out-dir ./node_modules/ethereum-bloom-filters/dist

./node_modules/cross-env/dist/bin/cross-env-shell.js MODE=$1 REPORT=$2 webpack

# ./compile.sh dev true
Expand Down
145 changes: 64 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-loader": "^8.0.6",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"chai": "^4.2.0",
Expand Down
Loading

0 comments on commit f49d71e

Please sign in to comment.