Skip to content

Commit

Permalink
Add support to dist babel compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
yadickson committed Oct 19, 2017
1 parent eb0a85e commit ffe6b09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"node_modules",
"bower_components",
"test",
"tests"
"tests",
"karma.conf.js",
"package.json",
"src"
],
"dependencies": {
"angular": "~1.3.20",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"should": "^13.1.2"
},
"scripts": {
"build": "npm run compile",
"prepublish": "npm run compile",
"compile": "./node_modules/.bin/babel --presets env,babili -d dist/ src/",
"pretest": "./node_modules/.bin/bower install",
Expand Down

0 comments on commit ffe6b09

Please sign in to comment.