Skip to content

Commit

Permalink
Add a prepare script, to build when used as a git dep
Browse files Browse the repository at this point in the history
  • Loading branch information
justinweiss committed Jan 31, 2018
1 parent 24528d1 commit 0bba292
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"stringify": "^5.1.0"
},
"scripts": {
"prepare": "babel ./lib --out-dir ./dist",
"prepublish": "babel ./lib --out-dir ./dist",
"postpublish": "npm run deploy-example",
"lint": "eslint ./",
Expand Down

0 comments on commit 0bba292

Please sign in to comment.