Skip to content

Commit

Permalink
added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Valter Kraemer committed Nov 3, 2017
1 parent 1a0faa6 commit 3095b4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
"version": "0.1.0",
"description": "Firebase plugin for Mavo",
"author": "Valter Kraemer",
"license": "MIT"
"license": "MIT",
"scripts": {
"build": "babel ./src/mavo-firebase.js -o ./dist/mavo-firebase.js --presets es2015 --source-maps & babel ./src/mavo-firebase.js -o ./dist/mavo-firebase.min.js --presets es2015 --presets minify --source-maps"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-minify": "^0.2.0"
}
}

0 comments on commit 3095b4f

Please sign in to comment.