Skip to content

Instantly share code, notes, and snippets.

@Starraider
Last active June 15, 2021 14:44
Show Gist options
  • Save Starraider/e1257c1afae879a3d6d6550f781f135e to your computer and use it in GitHub Desktop.
Save Starraider/e1257c1afae879a3d6d6550f781f135e to your computer and use it in GitHub Desktop.
Best Node modules to use in your projects

Best Node modules to use in your projects

commitlint

Commit Linter

yarn add @commitlint/config-conventional --dev

stylelint

CSS/SCSS Linter

yarn add stylelint --dev
yarn add stylelint-config-twbs-bootstrap --dev

Cypress

Automate functional (and visual) tests with cypress.

yarn add cypress --dev

For visual testing, add cypress-plugin-snapshots:

yarn add cypress-plugin-snapshots --dev

For lighthouse testing, add cypress-audit and lighthouse:

yarn add cypress-audit --dev
yarn add lighthouse --dev

For accessibility testing, add cypress-audit and pa11y:

yarn add cypress-audit --dev
yarn add pa11y --dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment