Skip to content

Commit

Permalink
Merge pull request codeschool-projects#5 from codeschool/safe-tests
Browse files Browse the repository at this point in the history
Transpile before running tests
  • Loading branch information
sergiocruz committed Nov 16, 2016
2 parents 2a40c9d + ff7a600 commit e5249d3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@
"private": true,
"scripts": {
"start": "browser-sync start --server ./src --files ./src",
"test": "mocha test/*.spec.js"
"test": "mocha --compilers js:babel-register test/*.spec.js"
},
"author": "Sergio Cruz <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"browser-sync": "^2.14.0",
"chai": "^3.5.0",
"jsdom": "^9.4.1",
"mocha": "^3.0.1"
},
"engines" : {
"node" : ">=6.2",
"npm": ">=3.8"
"engines": {
"node": ">=4.6",
"npm": ">=2.15"
},
"babel": {
"presets": ["es2015"]
}
}

0 comments on commit e5249d3

Please sign in to comment.