"scripts": {
"lint": "jshint --exclude ./node_modules --reporter=node_modules/jshint-stylish **.js || true",
"lint-watch": "nodemon --exec 'clear && npm run lint'"
}
складываете в него нужные элементы попутно удаляя их