0.2.1 • Published 7 years ago
generator-new-react-component v0.2.1
Basic New React Component generator for Yeoman
You can create your own component package with this generator.
This generator create basic files for React Component package writing.
The following files are for the creating React component
- src/index.js
- .babelrc
- webpack.config.js (For preview)
- .gitignore
- .npmignore
- package.json
- README.md
How To Use?
You must have Yeoman: http://yeoman.io
First, you must run this command.
npm install -g generator-new-react-component
After than you can use this generator with yo
yo new-react-component
After all this you must run npm install command.
Also if you want see changes in that moment you must run yarn start command. This use webpack server.
For publishing your package you must read npm documents : https://docs.npmjs.com/getting-started/publishing-npm-packages
Please don't forget to give stars.
Thanks for contributions @cevherkarakoc