This is boilerplate that contains ESLint, .nvmrc, Prettier, Jasmine, CircleCI, and Husky configured for use in Node.js projects.
- Node.js (see .nvmrc);
- Yarn;
- Clone or download the repository zip;
- Change the URL of remote (git);
- Update package.json with your project infos (e.g. author, name, version, license);
- Run
yarn install
.
This repository uses Jasmine as testing framework. All tests files contains .spec.js
in your filename.
To run tests:
yarn test
This project uses Prettier and ESLint with Airbnb Style Guide.
yarn lint