Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nx/storybook

Package Overview
Dependencies
Maintainers
4
Versions
716
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/storybook

The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.

  • 0.0.0-pr-27930-49d1e4b
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
287K
decreased by-41.61%
Maintainers
4
Weekly downloads
 
Created

What is @nx/storybook?

@nx/storybook is an npm package that integrates Storybook with the Nx build system. It allows you to efficiently manage and develop UI components in isolation, providing a seamless experience for building, testing, and documenting components within an Nx workspace.

What are @nx/storybook's main functionalities?

Setup Storybook for an Nx Workspace

This command sets up Storybook for a specific application within an Nx workspace. It configures the necessary files and dependencies to get Storybook up and running.

npx nx g @nx/storybook:configuration my-app

Generate Stories for Components

This command generates Storybook stories for all components in a specified library. It helps in quickly creating stories for existing components, making them available for isolated development and testing.

npx nx g @nx/storybook:stories my-lib

Run Storybook

This command starts the Storybook server for a specific application, allowing you to view and interact with your components in an isolated environment.

npx nx run my-app:storybook

Build Storybook

This command builds the static Storybook site for a specific application, which can then be deployed to a static site hosting service.

npx nx run my-app:build-storybook

Other packages similar to @nx/storybook

Keywords

FAQs

Package last updated on 16 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc