
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@lwce/lwc-storybook-cli
Advanced tools
A CLI tool for quickly getting started with storybook in LWC projects
npm install --save-dev @lwce/lwc-storybook-cli
# OR
yarn add --dev @lwce/lwc-storybook-cli
"scripts": {
"storybook:build": "lwc-storybook build",
"storybook:start": "lwc-storybook start",
}
"modules": [
...
{
"npm": "lwc-components-lightning"
}
],
mocked-core-modules-data.js
file to the root of
your project. The file should export a single getData
function:export function getData() {
return {
// Any data defined will be provided to the mocked core modules
}
}
.storybook
to your .gitignoreStart storybook in development mode
Command: lwc-storybook start
Build storybook with an output that can be hosted on a static web
server. Defaults the output to .storybook/build/public
Command: lwc-storybook build
Follow the prompts to generate a story
Command: lwc-storybook story
FAQs
Create a storybook for your application
We found that @lwce/lwc-storybook-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.