Skip to content

Commit

Permalink
fix babel
Browse files Browse the repository at this point in the history
  • Loading branch information
darobin committed Feb 27, 2017
1 parent 4be224f commit 4318179
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
"main": "dist/index.js",
"module": "src/index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --compilers js:babel-register",
"prepublish": "rm -rf dist && ./node_modules/.bin/babel src --out-dir dist"
"test": "mocha --compilers js:babel-register",
"prepublish": "rm -rf dist && babel src --out-dir dist"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"add-module-exports"
]
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4318179

Please sign in to comment.