Skip to content

Commit

Permalink
fix(babel): Add babel as prepublish step
Browse files Browse the repository at this point in the history
  • Loading branch information
mklabs committed Apr 30, 2016
1 parent 568754f commit 97fc9ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"main": "index.js",
"scripts": {
"test": "SHELL=zsh babel-node ./node_modules/.bin/mocha test",
"pretest": "babel lib/ -d src/"
"babel": "babel lib/ -d src/",
"prepublish": "npm run babel",
"pretest": "npm run babel"
},
"devDependencies": {
"babel-cli": "^6.7.5",
Expand Down Expand Up @@ -39,4 +41,4 @@
"npmlog": "^2.0.3"
},
"version": "1.0.2"
}
}

0 comments on commit 97fc9ce

Please sign in to comment.