Skip to content

Commit

Permalink
use npx in package.json scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Nov 4, 2019
1 parent 15a025f commit 884a3fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 884a3fb

Please sign in to comment.