Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Move browserify config section from package.json to karma.conf.js to …
Browse files Browse the repository at this point in the history
…avoid 3rd-party build conflicts
  • Loading branch information
holgerd77 committed Feb 20, 2018
1 parent cf511cc commit ba1ae59
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
10 changes: 10 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ module.exports = function (config) {
'karma-mocha'
],
browserify: {
'transform': [
[
'babelify',
{
'presets': [
'env'
]
}
]
],
debug: true
},
envPreprocessor: [
Expand Down
12 changes: 0 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@
"build:dist": "babel index.js --source-root ./ -d ./dist",
"build:docs": "documentation build ./index.js --github --sort-order='alpha' -f md > ./docs/index.md"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"env"
]
}
]
]
},
"repository": {
"type": "git",
"url": "https://github.com/ethereumjs/ethereumjs-util.git"
Expand Down
2 changes: 1 addition & 1 deletion test/defineFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('define', function () {
it('should trim zeros', function () {
var someOb = {}
ethUtil.defineProperties(someOb, fields)
// Define Properties
// Define Properties
someOb.r = '0x00004'
assert.equal(someOb.r.toString('hex'), '04')

Expand Down

0 comments on commit ba1ae59

Please sign in to comment.