npm.io
1.3.5 • Published 7 years agoCLI

ezreal-cli

Licence
MIT
Version
1.3.5
Deps
22
Size
282 kB
Vulns
8
Weekly
0

Ezreal

Reducing the steps that need to be repeated many times in every day of development.

image

Docs

$ npm i ezreal-cli -g
  1. curd
  • Can quickly generate a curd application to the current project
$ ezreal-cli curd
  1. dev
  • Yes, even if only the react component file can run
  • Support hot update
$ ezreal-cli dev ./index.tsx
  ./index.tsx (React is a global variable)

  const styles = require("./index.scss)
  export default class App extends React.Component<{}, {}> {
    render() {
      return (
        <div className={styles.appWrap}>
          Hello Word !
        </div>
      )
    }
  }
  1. build
  • if only the react component file can generating a dist folder
$ ezreal-cli build ./index.tsx

Features

  • Abstract more modules needed for daily development
  • Support more front-end frameworks

FAQ

Why is it called ezreal ?
It's the same way dva and roadhog are named. The difference is that ezreal is a hero of lol.

image

LICENSE

MIT