diff --git a/.travis.yml b/.travis.yml index a4315b3..05d5124 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: node_js node_js: - - 0.8 - - 0.10 + - 4 + - 6 + - 8 + - 'stable' notifications: email: recipients: diff --git a/package.json b/package.json index 20bfa8f..19a7d04 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.0.9", "description": "Parse curl --trace option output to raw HTTP message", "main": "lib/parser.js", + "engines": { + "node": ">= 4" + }, "scripts": { "test": "scripts/test", "prepublish": "scripts/prepublish" @@ -16,9 +19,9 @@ "http-string-parser": "0.0.6" }, "devDependencies": { - "coffee-script": "1.6.3", - "mocha": "1.11.0", - "chai": "1.7.1" + "chai": "4.1.2", + "coffeescript": "1.12.7", + "mocha": "5.0.2" }, "keywords": [ "curl", diff --git a/scripts/bdd b/scripts/bdd index 349781b..3003d78 100755 --- a/scripts/bdd +++ b/scripts/bdd @@ -1,2 +1,2 @@ #!/bin/sh -./node_modules/mocha/bin/mocha -w --reporter spec --compilers 'coffee:coffee-script' ./test/**/*-test.coffee \ No newline at end of file +./node_modules/mocha/bin/mocha -w --reporter spec --compilers=coffee:coffeescript/register ./test/**/*-test.coffee diff --git a/scripts/test b/scripts/test index d4e4f83..abfee6d 100755 --- a/scripts/test +++ b/scripts/test @@ -1,3 +1,3 @@ #!/bin/sh ./scripts/build -./node_modules/mocha/bin/mocha --reporter spec --compilers 'coffee:coffee-script' ./test/**/*-test.coffee \ No newline at end of file +./node_modules/mocha/bin/mocha --reporter spec --compilers=coffee:coffeescript/register ./test/**/*-test.coffee