Add "pretest" to npm scripts
This shouldn't actually change anything, just a bit of tidying up.
- Rename "eslint" script to "lint"
- Move "npm run lint" to "pretest" script
- Remove file regex from "test" script, as it's already covered by the "jest.testRegex" setting