@gridscale/ngx-storybook-schematics

1.0.7 • Public • Published

Schematics for Angular and Storybook Workshops

npm version

Installation

ng add @ngx-storybook/schematics

This schematic automatically adjusts .storybook/config.js to include all stories.ts files inside the src folder, not only from src/stories.

Usage

component (alias: c)

ng g @ngx-storybook/schematics:c button

This command creates a module, component and a story with the given name.

stories (alias: s)

ng g @ngx-storybook/schematics:s my-stories

This command creates a stories file with the given name.

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @gridscale/ngx-storybook-schematics

    Weekly Downloads

    0

    Version

    1.0.7

    License

    BSD-3-Clause

    Unpacked Size

    13.5 kB

    Total Files

    18

    Last publish

    Collaborators

    • marcd
    • janstuhlmann
    • tbrandenberg