diff --git a/package.json b/package.json index 6f02ab8a52..9b381f9bf2 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "pretest": "linklocal", "posttest": "eslint .", "mocha": "cross-env BABEL_ENV=test nyc -s mocha", - "tests-only": "npm run mocha tests/src", + "tests-only": "node -v && npm -v && eslint -v && npm ls eslint espree acorn || npm run mocha tests/src", "test": "npm run tests-only", "test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src", "test-all": "node --require babel-register ./scripts/testAll",