Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 037c11c

Browse files
authored
Merge pull request #11 from realityking/node-4
Drop support for Node.js < 4
2 parents 1c7a7d0 + 5b32135 commit 037c11c

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: node_js
22
node_js:
3-
- 0.8
4-
- 0.10
3+
- 4
4+
- 6
5+
- 8
6+
- 'stable'
57
notifications:
68
email:
79
recipients:

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "0.0.9",
44
"description": "Parse curl --trace option output to raw HTTP message",
55
"main": "lib/parser.js",
6+
"engines": {
7+
"node": ">= 4"
8+
},
69
"scripts": {
710
"test": "scripts/test",
811
"prepublish": "scripts/prepublish"
@@ -16,9 +19,9 @@
1619
"http-string-parser": "0.0.6"
1720
},
1821
"devDependencies": {
19-
"coffee-script": "1.6.3",
20-
"mocha": "1.11.0",
21-
"chai": "1.7.1"
22+
"chai": "4.1.2",
23+
"coffeescript": "1.12.7",
24+
"mocha": "5.0.2"
2225
},
2326
"keywords": [
2427
"curl",

scripts/bdd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
./node_modules/mocha/bin/mocha -w --reporter spec --compilers 'coffee:coffee-script' ./test/**/*-test.coffee
2+
./node_modules/mocha/bin/mocha -w --reporter spec --compilers=coffee:coffeescript/register ./test/**/*-test.coffee

scripts/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
./scripts/build
3-
./node_modules/mocha/bin/mocha --reporter spec --compilers 'coffee:coffee-script' ./test/**/*-test.coffee
3+
./node_modules/mocha/bin/mocha --reporter spec --compilers=coffee:coffeescript/register ./test/**/*-test.coffee

0 commit comments

Comments
 (0)