Simplify eslint and npm test

This fixes #2.