Skip to content

Commit 1a918f7

Browse files
author
Ivan Demidov
committed
added testen and up support node version
1 parent 6d38bde commit 1a918f7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ node_js:
44
- "6"
55
- "5"
66
- "4"
7+
- "0.12"
8+
- "0.10"
79

810
after_script:
911
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

package.json

+13-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,24 @@
55
"main": "lib/index.js",
66
"files": "lib/index.js",
77
"engines": {
8-
"node": ">=4"
8+
"node": ">=0.10"
99
},
1010
"scripts": {
1111
"test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava",
1212
"clean": "rm -rf lib && mkdir lib",
1313
"build": "npm run clean && babel src/index.js --out-file lib/index.js",
1414
"prepublish": "npm run build",
15-
"update": "updtr && ava-codemods --force"
15+
"update": "updtr && ava-codemods --force",
16+
"testen": "testen -n -- ava"
17+
},
18+
"testen": {
19+
"node": [
20+
"0.10",
21+
"0.12",
22+
"4",
23+
"5",
24+
"6"
25+
]
1626
},
1727
"keywords": [
1828
"postcss",
@@ -54,6 +64,7 @@
5464
"eslint-plugin-require-path-exists": "^1.1.5",
5565
"eslint-plugin-xo": "^0.5.0",
5666
"nyc": "^6.6.0",
67+
"testen": "^1.8.2",
5768
"updtr": "^0.1.10"
5869
},
5970
"babel": {

0 commit comments

Comments
 (0)