Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
dist/
package-lock.json
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Preface

This project is LightWallet with fix some potentially dependencies setting, I have submit PR but origin team does not handle it, so I have to release it myself.

# LightWallet

A minimal ethereum javascript wallet.
Expand All @@ -17,10 +21,10 @@ Please note that LightWallet has not been through a comprehensive security revie
## Get Started

```
npm install eth-lightwallet
npm install jcc_eth_lightwallet
```

The `eth-lightwallet` package contains `dist/lightwallet.min.js` that can be included in an HTML page:
The `jcc_eth_lightwallet` package contains `dist/lightwallet.min.js` that can be included in an HTML page:

```html
<html>
Expand Down
27 changes: 16 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "eth-lightwallet",
"version": "3.0.1",
"description": "A lightweight ethereum javascript wallet.",
"name": "jcc_eth_lightwallet",
"version": "3.0.4",
"description": "A lightweight ethereum javascript wallet by jccdex.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/ConsenSys/eth-lightwallet.git"
"url": "https://github.com/JCCDex/jcc_eth_lightwallet.git"
},
"scripts": {
"build-js": "browserify index.js --s lightwallet -g [ babelify --presets [ es2015 react ] ] | uglifyjs -c > dist/lightwallet.min.js",
Expand All @@ -19,6 +19,7 @@
"blockchain",
"transactions",
"contracts",
"jccdex",
"wallet"
],
"contributors": [
Expand Down Expand Up @@ -53,12 +54,16 @@
{
"name": "Milad Mostavi",
"email": "[email protected]"
},
{
"name": "chtian",
"email": "[email protected]"
}
],
"license": "MIT",
"dependencies": {
"bitcore-lib": "^0.15.0",
"bitcore-mnemonic": "^1.5.0",
"bitcore-lib": "^0.16.0",
"bitcore-mnemonic": "^1.7.0",
"buffer": "^4.9.0",
"crypto-js": "^3.1.5",
"elliptic": "^3.1.0",
Expand All @@ -71,18 +76,18 @@
},
"devDependencies": {
"async": "^1.4.2",
"babel-preset-es2015": "^6.13.2",
"babel-preset-react": "^6.11.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-react": "^6.11.1",
"babelify": "^7.3.0",
"bluebird": "^3.3.1",
"browserify": "^13.1.0",
"chai": "^3.0.0",
"hooked-web3-provider": "christianlundkvist/hooked-web3-provider#updates_web3_14",
"istanbul": "^0.3.15",
"mocha": "^2.2.5",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"uglify-js": "^2.7.2"
}
}
14 changes: 14 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
username=`npm whoami`
echo $username
if test "$username" = "jccdex"; then
if test "$1" = "";then
npm version patch --no-git-tag-version
else
npm version $1 --no-git-tag-version
fi
npm publish
else
echo "please login with jccdex account"
exit 0
fi