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

@storybook/preset-create-react-app

Package Overview
Dependencies
Maintainers
11
Versions
795
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/preset-create-react-app

Storybook for Create React App preset

  • 8.4.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
249K
decreased by-20.12%
Maintainers
11
Weekly downloads
 
Created

What is @storybook/preset-create-react-app?

@storybook/preset-create-react-app is a preset configuration for Storybook that allows you to use Storybook seamlessly with Create React App (CRA). It simplifies the setup process and ensures that Storybook works out of the box with CRA's configuration.

What are @storybook/preset-create-react-app's main functionalities?

Automatic Configuration

This feature allows you to automatically configure Storybook to work with Create React App by simply adding the preset to your Storybook configuration.

module.exports = { addons: ['@storybook/preset-create-react-app'] };

Support for CRA Features

The preset ensures that all features of Create React App, such as CSS modules, Sass, and TypeScript, are supported out of the box in Storybook.

module.exports = { addons: ['@storybook/preset-create-react-app'] };

Custom Webpack Configuration

You can still customize the Webpack configuration if needed, while leveraging the default setup provided by the preset.

module.exports = { addons: ['@storybook/preset-create-react-app'], webpackFinal: async (config) => { /* custom webpack config */ return config; } };

Other packages similar to @storybook/preset-create-react-app

Keywords

FAQs

Package last updated on 14 Nov 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