lint and beautify js/json code using npm run-scripts pre-commit