We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
node-version-check
1 parent 09a037b commit 40d46d4Copy full SHA for 40d46d4
package.json
@@ -22,14 +22,15 @@
22
"eslint-plugin-standard": "^2.0.0",
23
"istanbul": "^0.4.4",
24
"mocha": "^3.0.2",
25
+ "node-version-check": "^2.1.0",
26
"rimraf": "^2.5.4",
27
"should": "^11.0.0",
28
"sinon": "^1.17.5"
29
},
30
"scripts": {
31
"clean": "rimraf coverage/",
32
"cover": "istanbul cover _mocha",
- "lint": "eslint index.js test/main.js",
33
+ "lint": "node-version-gte-4 && eslint index.js test/main.js || node-version-lt-4",
34
"precover": "npm run lint && npm run clean",
35
"pretest": "npm run lint",
36
"test": "mocha"
0 commit comments