@hoodoo/scripts

Utility scripts/commands

Usage no npm install needed!

<script type="module">
  import hoodooScripts from 'https://cdn.skypack.dev/@hoodoo/scripts';
</script>

README

Scripts

This library is used to publish common commands/scripts. Currently we only have the one setup-frontend script that's used to install and scaffold out the configuration for our ui.frontend inside of an AEM project but realistically could be used for any front project with a package.json file.

Setup

The setup script as mentioned above installs and configures the @hoodoo specific packages/configs for eslint, stylelint, husky, commitlint, babel and prettier for you by running the command below. Under the hood we're using ora for the spinner which also serves as a nice checklist of tasks it's completed.

Usage

npx @hoodoo/scripts setup