1.0.1 • Published 3 years ago

@dev-nbx/frontend-web-components v1.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

NBX Web Component Library

This repo contains the shared component library for NBX web applications, built with StencilJS & Storybook.

Running the project locally

yarn
yarn dev

To run the stencil dev-server without storybook, try yarn stencil:dev instead.

For more documentation on using and developing these components, see the README on our Storybook

Available yarn scripts:

  • clean: Deletes all build products
  • stencil:dev: Builds components for development, starts development server to serve build products, watches for changes
  • stencil:storybook: Builds components for development in Storybook, watches for changes.
  • stencil:build: Builds components for production
  • storybook:dev: Starts storybook dev server on port 9001
  • storybook:dev-copy-static: Copies storybook static files into location for localdev
  • storybook:prod-copy-static: Copies storybook static files into location for production
  • storybook:build: Build storybook for deployment in production as a static site
  • dev: Runs stencil:dev and storybook:dev-copy-static && storybook:dev concurrently.
  • build: Builds stencil & storybook for production
  • storybook:copy-deploy: Moves production build products into /opt/build for app engine deployment.