diff --git a/.travis.yml b/.travis.yml index d980653..e40b9be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_install: # Setup Node.js version-specific dependencies - "test $TRAVIS_NODE_VERSION != '0.6' || npm rm --save-dev istanbul" - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul" - - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard" + - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" script: # Run test script, depending on istanbul install - "test ! -z $(npm -ps ls istanbul) || npm test" diff --git a/package.json b/package.json index 77b4d48..884e321 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,12 @@ "repository": "jshttp/fresh", "devDependencies": { "eslint": "3.19.0", - "eslint-config-standard": "7.0.0", + "eslint-config-standard": "10.2.1", + "eslint-plugin-import": "2.2.0", "eslint-plugin-markdown": "1.0.0-beta.4", + "eslint-plugin-node": "4.2.2", "eslint-plugin-promise": "3.5.0", - "eslint-plugin-standard": "2.1.1", + "eslint-plugin-standard": "3.0.1", "istanbul": "0.4.5", "mocha": "1.21.5" },