Skip to content

Commit

Permalink
feat: use Babel to compile files
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 8, 2016
1 parent 917d8ec commit 4877922
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
"es2015-node4"
]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
},
"license": "BSD-3-Clause",
"scripts": {
"build": "node ./node_modules/.bin/pragmatist build",
"build": "babel ./src --out-dir ./dist --copy-files",
"test": "node ./node_modules/.bin/pragmatist lint test"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-preset-es2015-node4": "^2.1.0",
"chai": "^3.3.0",
"pragmatist": "^1.1.3"
},
Expand Down

0 comments on commit 4877922

Please sign in to comment.