Socket
Book a DemoInstallSign in
Socket

@pareto-engineering/generator-front

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pareto-engineering/generator-front

Yeoman is a client-side scaffolding tool for web applications. We use this to quickly scaffold a component, module, page and story.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

Generator-front (Yeoman)

Yeoman is a client-side scaffolding tool for web applications. We use this to quickly scaffold a component, module, page and story.

Project Installation and Setup

# If you have configured the SSH protocol, use
$ git clone git@github.com:HelloPareto/generator-front.git

cd generator-front

npm install

Usage

  • Install the @pareto-engineering/generator-front package globally

    $ npm i -g yo @pareto-engineering/generator-front # you might need an older version of yo
    
  • Navigate to the folder you want to scaffold either a component, story, module, or page

    // For a component
    $ yo @pareto-engineering/front component [name] # this creates a folder with [name] as it's name with three files in it --> [name].jsx, index.js, styles.scss
    
    // For a story
    $ yo @pareto-engineering/front story [name] # this creates a [name].stories.jsx file --> A story captures the rendered state of a UI component and describes all the states a component can support
    
    // For a page
    $ yo @pareto-engineering/front page [name] # this creates a [name].jsx file
    
    // For a module
    $ yo @pareto-engineering/front module [name] # this creates a folder with [name] as it's name. The folder has urls.js and routes.js files, component and pages folders both having an index.js file
    

Keywords

yeoman-generator

FAQs

Package last updated on 03 Jun 2025

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