node package manager

generator-suit

Generator for scaffolding out a SUIT component or utility

generator-suit

SUIT package generator

A Yeoman generator for SUIT packages.

First, install Yeoman and generator-suit using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-suit

Make a new directory, and cd into it:

mkdir suit-my-component && cd $_

Now scaffold out a SUIT package using the yo command (and optionally passing a name for your module):

yo suit my-component

Generates the boilerplate you need for a simple SUIT component.

Example:

yo suit my-component

Produces:

.
├── .gitignore
├── .stylelintrc
├── .travis.yml
├── CHANGELOG.md
├── index.css
├── LICENSE.md
├── package.json
├── README.md
├── lib/my-component.css
├── test/config.json
├── test/index.html
└── test/test.css

MIT