Skip to content

Scaffolding tool to create JavaScript components

License

Notifications You must be signed in to change notification settings

fluuuid/create-component

 
 

Repository files navigation

Groselha create-component

npm version

Install

$ npm add @groselha/create-component -D

Usage

Create a component and follow the prompts

create-component <Component Name>

Set your defauls

touch .componentrc

then add

{
  "path": "src/components",
  "folderCase": "pascalCase",
  "fileCase": "pascalCase",
  "test": {
    "skip": true,
    "defaults": true
  },
  "enzyme": {
    "skip": true,
    "defaults": false
  },
  "css": {
    "skip": true,
    "defaults": false
  },
  "storybook": {
    "skip": true,
    "defaults": false
  },
  "readme": {
    "skip": true,
    "defaults": false
  },
  "package": {
    "defaults": false,
    "skip": true
  }
}

About

Scaffolding tool to create JavaScript components

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.5%
  • CSS 0.5%