a cli to create react component simply
npm install @168496714/create-react-componenta cli to create react component simply
``shell`
npm install @168496714/create-react-component -g
`shell`
create-react-component
cd
yarn // or npm install
` npm run build `
// default run in 3000
npm run build``├── package.json
├── public
│ ├── app.js
│ └── index.html
├── server
│ └── index.js
├── src
│ └── index.js // entry of your component
├── test
│ ├── helpers
│ └── test.js
├── webpack
│ ├── webpack.dev.js
│ └── webpack.prod.js
* [ ] configurable, such as eslint , prop-types or flow
* [ ] smart , such as dev port tip, npm/yarn
* [ ] conversion into script
* [ ] more ,waiting you to point me out