Skip to content

Latest commit

 

History

History

stencil-library

NJWDS Web Components

NJWDS web components implemented using Stencil

Developing the library

Setup

  1. Make sure you're in the packages/stencil-library directory.
  2. Run npm install.

Build the web components

Run npm run build from from packages/stencil-library to generate the dist package.

The stencil.config.ts is configured to generate three output targets:

Tests

Run npm run test from packages/stencil-library.

Tests are implemented using Jest and Stencil's testing API.