npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mrm-task-reachdigital-preset

v2.0.0

Published

- File formatting via [prettier](https://prettier.io/) - ts/js file checking via [eslint](eslint) - Style file checking via [stylelint](https://stylelint.io/)

Downloads

10

Readme

MRM task reachdigital-preset

Automatically set up eslint, prettier and stylelint with mrm.

Installation

# cd to root of your project.
npm install -g mrm-task-reachdigital-preset
npx mrm reachdigital-preset -i

PHPStorm

  1. Make sure you have a scope configured: (file:*//ReachDigital//*||file:*//Ho//*||file:*//honl//*||file:*//reach-digital//*||file:webcomponents//*)

    1. Add project specific paths to this scope as well (like a different theme vendor in the app/design/frontend folder).
  2. Create 3 file watchers for stylelint for the filetypes Cascading Style Sheets, Less Style Sheet, Javascript and Typescript. Tip: you can use the copy button in the File Watchers overview to duplicate the watcher for each file type.

  3. Configure Prettier in PHPStorm. a. Make sure you have at least PHPStorm 2020.2 and make sure you have the Prettier plugin installed in PHPStorm.

  4. Configure ESLint in PHPStorm

  5. Configure StyleLint in PHPStorm

VSCode

Add the following to .vscode/settings.json

{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "editor.formatOnSave": true,
  "eslint.enable": true,
  "eslint.alwaysShowStatus": true,
  "editor.tabSize": 2,
  "javascript.implicitProjectConfig.experimentalDecorators": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Github and semantic-release

The semantic-release uses multiple secrets that are setup in GitHub to make the release notes work. These are set for the whole company mostly, so you don't have to do anything about this, with Slack being the only exception.

Slack intergration

  1. Register the a new webhook for a specified slack channel using this link
  2. Go to the github repo and go to Settings > Secrets
  3. Create a new secret using the "New repository secret" button.
  4. Name the secret SLACK_WEBHOOK_[Project Code here]
  5. Paste the URL from step 1 as the value of the secret
  6. Use the SLACK_WEBHOOK_[Project Code here] during the npx mrm reachdigital-preset -i or edit it in the .github/workflows/release.yml

Development

You can debug the mrm-task using the following commands in a project folder:

  • To show all the tasks: npx mrm --dir ./webcomponents/m2-classic-webpack/packages
  • To run a task: npx mrm --dir ./webcomponents/m2-classic-webpack/packages mrm-task-reachdigital-preset