Skip to content

AlexanderAllen/boilerplate-for-npm

Repository files navigation

Boilerplate for NPM projects

Boilerplate for new projects using NPM.

I avoid other boilerplates such as create-react-app when possible. When something inevitably breaks, it's hard to know why and I am left none-the-wiser.

React

React support is pre-wired in the configuration for Babel, ESLint, and Jest but not included as a dependency. The aim is to be compatible with both React and non-React projects.

Babel

ESLint

  • Using eslint:recommended, along with AirBnB rules.
  • Using most plugins recommended in community configs.
  • ESLint assumes a browser environment with ES6, not a node or web extension environment. Modify .eslintrc.js for other environments.

TypeScript

Testing

About

Boilerplate for new NPM packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published