diff --git a/package.json b/package.json index 97e6382d75..e97532de7a 100644 --- a/package.json +++ b/package.json @@ -89,8 +89,8 @@ }, "scripts": { "test": "node run_tests", - "lint": "node node_modules/.bin/eslint *.js outbound/*.js plugins/*.js plugins/*/*.js tests/*.js tests/*/*.js tests/*/*/*.js bin/haraka bin/spf bin/dkimverify", - "lintfix": "node node_modules/.bin/eslint --fix *.js outbound/*.js plugins/*.js plugins/*/*.js tests/*.js tests/*/*.js tests/*/*/*.js bin/haraka bin/spf bin/dkimverify", - "cover": "NODE_ENV=cov node_modules/.bin/nyc --reporter=lcovonly npm run test" + "lint": "npx eslint *.js outbound/*.js plugins/*.js plugins/*/*.js tests/*.js tests/*/*.js tests/*/*/*.js bin/haraka bin/spf bin/dkimverify", + "lintfix": "npx eslint --fix *.js outbound/*.js plugins/*.js plugins/*/*.js tests/*.js tests/*/*.js tests/*/*/*.js bin/haraka bin/spf bin/dkimverify", + "cover": "NODE_ENV=cov npx nyc --reporter=lcovonly -x tests npm run test" } }