fle-cli
A command line tool for front-end developer with zero configuration. It aims to improve efficiency and make workflow easily.
Just install once and you will get all the following features.
Features
- Support multiple boilerplate (react, vue, ...)
- Support javascript library (es6, iife, commonjs, ...)
- Support upload files in compile
- Support phone debug in development
- Powerful postcss plugin with css modules
- flexible code split by default with webpack4+
- standard code style with eslint
- optimize image in compile if necessary
- Build-in rem layout solution for H5
- freemarker for Java template (ftl)
- ...
Installation
$ npm install fle-cli -g
or use yarn
$ yarn global add fle-cli
Quick Start
Init a project
$ fle init <project>
Development
$ fle dev
Production
$ fle build
Help
$ fle -h
Docs
For more details, please go to https://ansenhuang.github.io/docs/fle-cli/zh-cn/.