Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
export correctly under ES5, remove unnecessary deps
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 9, 2017
1 parent 82866f1 commit 0760a85
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/npm/etherscan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

module.exports = require('./dist');
module.exports = require('./dist').default;
2 changes: 1 addition & 1 deletion js/npm/jsonrpc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

module.exports = require('./dist');
module.exports = require('./dist').default;
2 changes: 0 additions & 2 deletions js/npm/jsonrpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"test": "node test/smoke.spec.js"
},
"peerDependencies": {
"es6-promise": "^4.0.5",
"isomorphic-fetch": "^2.2.1",
"babel-polyfill": "^6.22.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion js/npm/shapeshift/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

module.exports = require('./dist');
module.exports = require('./dist').default;

0 comments on commit 0760a85

Please sign in to comment.