Skip to content

Commit

Permalink
Add --harmony flag to scripts so karl will work also with node 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtPattyn committed Oct 1, 2015
1 parent 7dfcd5a commit 8be4ee8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: node_js
node_js:
- stable
- '4.0.0'
- '0.12'
sudo: false
deploy:
provider: npm
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Very fast and simplistic logger that logs to the console.",
"main": "./lib/karl.js",
"scripts": {
"test": "node_modules/mocha/bin/mocha --require test/support/env --bail --reporter spec --check-leaks test/",
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter spec --check-leaks test/",
"check-coverage": "istanbul check-coverage --statements 100 --lines 100 --functions 100 --branches 100",
"benchmark": "node benchmarks/benchmark",
"test": "node_modules/mocha/bin/mocha --harmony --require test/support/env --bail --reporter spec --check-leaks test/",
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --harmony --require test/support/env --reporter spec --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --harmony --require test/support/env --reporter spec --check-leaks test/",
"check-coverage": "istanbul check-coverage --harmony --statements 100 --lines 100 --functions 100 --branches 100",
"benchmark": "node --harmony benchmarks/benchmark",
"make-docs": "./node_modules/.bin/jsdoc -c jsdoc.conf",
"check-style": "./node_modules/jscs/bin/jscs .",
"code-analysis": "./node_modules/jshint/bin/jshint ."
Expand All @@ -18,7 +18,7 @@
"url": "https://github.com/KurtPattyn/karl.git"
},
"engines": [
"node >=4.0.0"
"node >=0.12"
],
"devDependencies": {
"bunyan": "^1.4.0",
Expand Down

0 comments on commit 8be4ee8

Please sign in to comment.