test: run elsint only in node version >= 4

master
Evgeny Poberezkin 2016-07-22 15:43:09 +01:00
parent bbf6b37a3b
commit b7535d4a69
No known key found for this signature in database
GPG Key ID: 016D62451CED9D8E
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
],
"scripts": {
"jshint": "jshint lib/*.js lib/**/*.js --exclude lib/dotjs/**/*",
"eslint": "eslint lib/*.js lib/compile/*.js",
"eslint": "if-node-version '>=4' eslint lib/*.js lib/compile/*.js",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
"test-debug": "mocha spec/*.spec.js --debug-brk -R spec",
@ -61,9 +61,10 @@
"chai": "^3.5.0",
"coveralls": "^2.11.4",
"dot": "^1.0.3",
"eslint": "^2.10.1",
"eslint": "^3.1.1",
"gh-pages-generator": "^0.2.0",
"glob": "^7.0.0",
"if-node-version": "^1.0.0",
"istanbul": "^0.4.2",
"js-beautify": "^1.5.6",
"jshint": "^2.8.0",