Have ideas to improve npm?Join in the discussion! »

@moonwalker/mrm-preset-react

2.0.1 • Public • Published

Mrm preset for Moonwalkers

Install

 
npm i -g mrm
npm i -g @moonwalker/mrm-preset-react
 

Usage

mrm react-component --preset @moonwalker/mrm-preset-react --config:slug top-navigation --config:prefix components/signup
 
// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigation.styl

Run the generator in the current dirrectory:

cd src/components
mrm react-component --preset @moonwalker/mrm-preset-react --config:slug top-navigation --config:cwd . --config:prefix signup
 
// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigations.styl

Keywords

Install

npm i @moonwalker/mrm-preset-react

DownloadsWeekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

9.49 kB

Total Files

20

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar