Skip to content

Commit

Permalink
chore(release): publish
Browse files Browse the repository at this point in the history
  • Loading branch information
GinMu committed Dec 13, 2019
1 parent c44dbcf commit a98332f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
npm run build

npx babel ./node_modules/abi-decoder --out-dir ./node_modules/abi-decoder
# npx babel ./node_modules/abi-decoder --out-dir ./node_modules/abi-decoder

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

# ./compile.sh dev true
# ./compile.sh prod true
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jcc-ethereum-abi",
"version": "0.1.0",
"version": "0.1.1",
"description": "Decoder and encoder for the ethereum ABI and decode events from ethereum transactions",
"main": "lib/abi.js",
"types": "./lib/abi.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ if test "$username" = "jccdex"; then
else
npm version $1 --no-git-tag-version
fi
if [ -d "lib" ];then
rm -r lib
fi
if [ -d "dist" ];then
rm -r dist
fi
npm run compile
npm publish
else
Expand Down

0 comments on commit a98332f

Please sign in to comment.