Skip to content

Commit

Permalink
feat(package): Add support for older NodeJS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Jan 27, 2016
1 parent 9f1899b commit d8e98c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["es2015-node4"],
"presets": ["es2015"],
"plugins": ["add-module-exports"]
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ notifications:
email: true
node_js:
- stable
- 5
- 4
- 0.12
- 0.10
before_install:
- npm install -g npm@latest
before_script:
- npm prune
after_success:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "sails-hook-cron",
"version": "0.0.0-semantic-release",
"description": "Sails hook for running tasks by cron",
"license": "MIT",
"main": "lib/index.js",
Expand Down Expand Up @@ -30,7 +31,7 @@
"devDependencies": {
"babel-cli": "6.4.5",
"babel-plugin-add-module-exports": "0.1.2",
"babel-preset-es2015-node4": "2.0.3",
"babel-preset-es2015": "6.3.13",
"chai": "3.4.1",
"coveralls": "2.11.6",
"cz-conventional-changelog": "1.1.5",
Expand Down

0 comments on commit d8e98c0

Please sign in to comment.