A good start to pretty much every Node.js project!
- ESLint and Prettier (using AirBnB's ruleset)
- Ensures consistent formatting between developers!
- Commitlint
- Ensures that git commit messages are consistent, and thought through.
- Why is that important?
- Jest
- Ensures that we can test our JavaScript.
- VSCode debugger
- Ensures that we spend less time writing
console.logs. - There's one debugger that runs the tests, and another for the whole project.
- Ensures that we spend less time writing
- Husky
- Ensures that only work that is formatted correctly, and passes tests is committed.
node-starteris a 'repository template', and is best used as a base for a new repository. Here's how you can do that.- Update 'name' property in the
package.jsonfile.
pnpm run start: Starts the projectpnpm run test: Runs the tests - oncepnpm run test:watch: Continually watches and runs the tests on code changespnpm run lint: Formats the source code using ESLint