0.1.0 • Published 6 years ago

@168496714/create-react-component v0.1.0

Weekly downloads
7
License
MIT
Repository
-
Last release
6 years ago

create-react-component

a cli to create react component simply

feature

zero config

includes

  • webpack4 to dev/build package
  • React 16.2
  • babel
  • eslint
  • flow for static type check
  • Enzyme and ava for test

usage

npm install @168496714/create-react-component -g 
create-react-component <project-name>
cd <project-name> 
yarn // or npm install

dev

npm run build

// default run in 3000

build

npm run build

//default entry build/main.js

structure

├── 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

TODO

  • 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

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago