Skip to content

Commit

Permalink
Add build step
Browse files Browse the repository at this point in the history
Runs all code through babel so I can use the ES2015 prettiness.
  • Loading branch information
Jesse Gibson committed Mar 2, 2017
1 parent 5a985c2 commit 572e485
Show file tree
Hide file tree
Showing 5 changed files with 1,621 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .babelrc
@@ -0,0 +1,3 @@
{
"presets": ["es2015", "react"]
}
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,2 +1,4 @@
node_modules/
.DS_Store

dist/
7 changes: 7 additions & 0 deletions .travis.yml
@@ -0,0 +1,7 @@
language: node_js

node_js:
- 4
- 5
- 6
- 7
8 changes: 7 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,8 @@
"description": "Enzyme assertions for mjackson's Expect library",
"main": "src/index.js",
"scripts": {
"test": "mocha"
"test": "mocha",
"build": "babel src/ -d dist/"
},
"repository": {
"type": "git",
Expand All @@ -22,6 +23,11 @@
"license": "MIT",
"author": "Jesse Gibson",
"dependencies": {
"babel-preset-react": "^6.23.0",
"expect": "^1.20.2"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-preset-es2015": "^6.22.0"
}
}

0 comments on commit 572e485

Please sign in to comment.