Skip to content

Commit c09dae3

Browse files
committed
Revert "Update devDependencies (#28)"
This reverts commit 0eb8195.
1 parent 0eb8195 commit c09dae3

9 files changed

Lines changed: 2576 additions & 3129 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ npm install --save ethjs-rpc
2323
## Usage
2424

2525
```js
26-
const HttpProvider = require('@metamask/ethjs-provider-http');
26+
const HttpProvider = require('ethjs-provider-http');
2727
const EthRPC = require('ethjs-rpc');
2828
const eth = new EthRPC(new HttpProvider('http://localhost:8545'));
2929

dist/ethjs-rpc.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethjs-rpc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/user-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ npm install --save ethjs-rpc
1111
## Usage
1212

1313
```js
14-
const HttpProvider = require('@metamask/ethjs-provider-http');
14+
const HttpProvider = require('ethjs-provider-http');
1515
const EthRPC = require('ethjs-rpc');
1616
const eth = new EthRPC(new HttpProvider('http://localhost:8545'));
1717

internals/webpack/webpack.config.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var config = { // eslint-disable-line
1414
},
1515
{
1616
test: /\.json$/,
17-
loaders: ['json-loader'],
17+
loader: 'json-loader',
1818
},
1919
],
2020
},
@@ -27,7 +27,7 @@ var config = { // eslint-disable-line
2727
umdNamedDefine: true,
2828
},
2929
plugins: [
30-
new webpack.BannerPlugin({ banner: '/* eslint-disable */', raw: true, entryOnly: true }),
30+
new webpack.BannerPlugin({ banner: ' /* eslint-disable */ ', raw: true, entryOnly: true }),
3131
new webpack.optimize.OccurrenceOrderPlugin(),
3232
new webpack.DefinePlugin({
3333
'process.env.NODE_ENV': JSON.stringify(env),
@@ -38,21 +38,21 @@ var config = { // eslint-disable-line
3838
if (env === 'production') {
3939
config.output.filename = filename + '.min.js'; // eslint-disable-line
4040
config.plugins
41-
.push(new webpack.optimize.UglifyJsPlugin({
42-
compressor: {
43-
pure_getters: true,
44-
unsafe: true,
45-
unsafe_comps: true,
46-
warnings: false,
47-
screw_ie8: false,
48-
},
49-
mangle: {
50-
screw_ie8: false,
51-
},
52-
output: {
53-
screw_ie8: false,
54-
},
55-
}));
41+
.push(new webpack.optimize.UglifyJsPlugin({
42+
compressor: {
43+
pure_getters: true,
44+
unsafe: true,
45+
unsafe_comps: true,
46+
warnings: false,
47+
screw_ie8: false,
48+
},
49+
mangle: {
50+
screw_ie8: false,
51+
},
52+
output: {
53+
screw_ie8: false,
54+
},
55+
}));
5656
}
5757

5858
module.exports = config;

0 commit comments

Comments
 (0)