UNPKG

1.58 kBMarkdownView Raw
1# fle-cli
2
3[![npm package](https://img.shields.io/npm/v/fle-cli.svg?style=flat-square)](https://www.npmjs.org/package/fle-cli)
4[![NPM downloads](http://img.shields.io/npm/dt/fle-cli.svg?style=flat-square)](https://npmjs.org/package/fle-cli)
5[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ansenhuang/fle-cli/blob/master/LICENSE)
6
7A command line tool for front-end developer with zero configuration. It aims to improve efficiency and make workflow easily.
8
9Just install once and you will get all the following features.
10
11## Features
12
13* Support multiple boilerplate (react, vue, ...)
14* Support javascript library (es6, iife, commonjs, ...)
15* Support upload files in compile
16* Support phone debug in development
17* Powerful postcss plugin with css modules
18* flexible code split by default with webpack4+
19* standard code style with eslint
20* optimize image in compile if necessary
21* Build-in rem layout solution for H5
22* freemarker for Java template (ftl)
23* ...
24
25## Installation
26
27```bash
28$ npm install fle-cli -g
29```
30
31or use yarn
32
33```bash
34$ yarn global add fle-cli
35```
36
37## Quick Start
38
39### Init a project
40
41```bash
42$ fle init <project>
43```
44
45### Development
46
47```bash
48$ fle dev
49```
50
51### Production
52
53```bash
54$ fle build
55```
56
57### Help
58
59```bash
60$ fle -h
61```
62
63## Docs
64
65For more details, please go to [https://ansenhuang.github.io/docs/fle-cli/zh-cn/](https://ansenhuang.github.io/docs/fle-cli/zh-cn/).
66
67## Changelog
68
69[Changelog](https://github.com/ansenhuang/fle-cli/blob/master/CHANGELOG.md)
70
71## License
72
73[MIT](https://tldrlegal.com/license/mit-license)