Skip to content

Commit

Permalink
Address issues raised in #123 (#124)
Browse files Browse the repository at this point in the history
* Address issues raised in #123

* babel config lives in karma conf

* second attempt at no babelrc karma babel config
  • Loading branch information
wheresrhys committed Aug 18, 2016
1 parent 109a738 commit eafc9c7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
10 changes: 10 additions & 0 deletions .npmignore
@@ -0,0 +1,10 @@
/test/
.travis.yml
.eslintrc
ISSUE_TEMPLATE
karma.conf.js
LICENSE
Makefile
PROTIPS.md
README.md
V4_V5_UPGRADE_NOTES.md
8 changes: 7 additions & 1 deletion karma.conf.js
Expand Up @@ -12,7 +12,13 @@ module.exports = function(karma) {
'test/client.js': ['browserify']
},
browserify: {
debug: true
debug: true,
transform: [
['babelify', {
'presets': ['es2015'],
'plugins': ['transform-object-assign']
}]
]
},
browsers: ['Chrome'],
customLaunchers: {
Expand Down
15 changes: 0 additions & 15 deletions package.json
Expand Up @@ -51,20 +51,5 @@
"mockery": "^1.4.0",
"sinon": "^1.17.0",
"whatwg-fetch": "^0.10.1"
},
"browserify": {
"transform": [
[
"babelify",
{
"plugins": [
"transform-object-assign"
],
"presets": [
"es2015"
]
}
]
]
}
}

0 comments on commit eafc9c7

Please sign in to comment.