build-chores

Building JS is complicated.

GPL-3.0 License

Downloads
99
Stars
1
Committers
2

Build Chores

Building JS projects is complicated.

Synopsis

The @build-chores packages collect common JavaScript tooling configurations and reduces the friction setting up a new JavaScript project. The tooling contains the following parts:

Packages

Package Version Description
@build-chores/babel-preset npm version A default Babel configuration, targeting Node 8. It provides support for Flow type declarations and class fields and properties.
@build-chores/eslint-config-lint npm version A curated configuration for ESLint with support for Flow, Prettier and promises.
@build-chores/staged npm version Lint staged JS, JSON and *.rc files using lint-staged.
@build-chores/commitlint npm version Enforce rules for your commit messages.
@build-chores/test npm version Configure your AVA test runner to play nice with your custom Babel configuration and provide test coverage reports.

Installation

Install the @build-chores packages as required:

yarn add --dev @build-chores/babel-preset \
               @build-chores/eslint-config-lint \
               @build-chores/staged \
               @build-chores/commitlint \
               @build-chores/test

See the respective packages for details on how to configure them. The project-example collects all relevant configuration changes for a quick overview.

Contribute

See the contribution guide and join the contributors!

License