Start up watches and a local server for Pattern Lab in dev mode. All assets will be served very fast from memory:

npm start # An alias for npm run dev:pl

Start up watches and compile assets to disk for Drupal on changes (see above for enabling Drupal cache clears as part of this):

npm run dev:drupal

Compile production assets for Pattern Lab (e.g. for a static file host):

npm run build:pl

Compile production assets for Drupal

npm run build:drupal

Compile production assets for Grav

npm run build:grav

Reinstall and setup Pattern Lab

npm run setup

Run all linters:

npm run lint

Run only Javascript linters:

npm run lint:js

Run only Sass linters:

npm run lint:scss

Run all tests:

npm test

Run only unit test:

npm run test:unit

Run only pa11y accessibility tests:

npm run test:pa11y

Run Yeoman generator to make new component:

npm run new

Run any Gulp task:

# See gulpfile.js for gulp tasks
npm run gulp -- gulpTaskName
# For instance, running a full Pattern Lab compile
npm run gulp -- compile