1.0.1 • Published 4 years ago
@dev-nbx/frontend-web-components v1.0.1
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 devTo 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 productsstencil:dev: Builds components for development, starts development server to serve build products, watches for changesstencil:storybook: Builds components for development in Storybook, watches for changes.stencil:build: Builds components for productionstorybook:dev: Starts storybook dev server on port 9001storybook:dev-copy-static: Copies storybook static files into location for localdevstorybook:prod-copy-static: Copies storybook static files into location for productionstorybook:build: Build storybook for deployment in production as a static sitedev: Runsstencil:devandstorybook:dev-copy-static && storybook:devconcurrently.build: Builds stencil & storybook for productionstorybook:copy-deploy: Moves production build products into/opt/buildfor app engine deployment.
1.0.1
4 years ago