use babel-node to fix node 4 issues

This commit is contained in:
ido 2017-01-02 16:13:43 +02:00
parent 07547fdb68
commit b78c3cae3e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"scripts": {
"build": "npm run lint && npm run test",
"lint": "eslint .",
"test": "node test/src/test.js",
"test": "babel-node test/src/test.js",
"test-cov": "istanbul cover test/src/test.js -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
"patch": "npm version patch -m\"update version to %s\" && git push && git push --tags",
"minor": "npm version minor -m\"update version to %s\" && git push && git push --tags",