Skip to content

Commit

Permalink
config library
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Quiceno committed Apr 17, 2016
1 parent 1f13625 commit 1da7d0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ node_modules
.node_repl_history

# transpiled code
lib
lib/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "implementation of Bresenham algorithm written in js",
"main": "bresenham.js",
"scripts": {
"compile": "babel --presets es2015 -d lib/ src/",
"test": "test"
"build": "babel src -d lib",
"test": "tape -r babel-register test.*.js"
},
"repository": {
"type": "git",
Expand All @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/nquicenob/bresenham#readme",
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babel-cli": "^6.7.5",
"tape": "^4.5.1"
}
}

0 comments on commit 1da7d0c

Please sign in to comment.