# @epoint-fe/fe-tool

> epoint frontend build tools

Latest version **1.3.1** (published 2023-12-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @epoint-fe/fe-tool
pnpm add @epoint-fe/fe-tool
yarn add @epoint-fe/fe-tool
bun add @epoint-fe/fe-tool
```

Provides the command `fe-tool`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2023-12-08 |
| First published | 2020-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 37.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Douglas Chen |
| Maintainers | cdswyda |

## Links

- npm: https://www.npmjs.com/package/@epoint-fe/fe-tool
- Repository: https://github.com/cdswyda/epoint-f9-frame-tool
- Homepage: https://github.com/cdswyda/epoint-f9-frame-tool#readme
- Issues: https://github.com/cdswyda/epoint-f9-frame-tool/issues
- npm.io page: https://npm.io/package/@epoint-fe/fe-tool

## Dependencies (20)

- [gulp](https://npm.io/package/gulp.md) ^4.0.2
- [sass](https://npm.io/package/sass.md) ^1.26.3
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [yargs](https://npm.io/package/yargs.md) ^15.3.1
- [figlet](https://npm.io/package/figlet.md) ^1.5.2
- [cssnano](https://npm.io/package/cssnano.md) ^5.1.13
- [postcss](https://npm.io/package/postcss.md) ^8.4.23
- [archiver](https://npm.io/package/archiver.md) ^3.1.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^7.1.0
- [gulp-footer](https://npm.io/package/gulp-footer.md) ^2.1.0
- [gulp-rename](https://npm.io/package/gulp-rename.md) ^2.0.0
- [gulp-uglify](https://npm.io/package/gulp-uglify.md) ^3.0.2
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^9.8.8
- [browser-sync](https://npm.io/package/browser-sync.md) ^2.26.7
- [gulp-postcss](https://npm.io/package/gulp-postcss.md) ^9.0.1
- [postcss-sass](https://npm.io/package/postcss-sass.md) ^0.4.2
- [postcss-scss](https://npm.io/package/postcss-scss.md) ^2.0.0
- [gulp-dart-sass](https://npm.io/package/gulp-dart-sass.md) ^0.9.1
- [chalk-animation](https://npm.io/package/chalk-animation.md) ^1.6.0

## Recent versions

- 1.3.1 (latest) — 2023-12-08
- 1.2.7 — 2023-04-24
- 1.1.7 — 2022-10-28
- 1.1.6 — 2022-09-13
- 1.1.5 — 2022-09-09
- 1.1.4 — 2022-04-24
- 1.1.3 — 2022-02-07
- 1.1.2 — 2020-11-13
- 1.1.1 — 2020-10-22
- 1.1.0 — 2020-07-16
- 1.0.3 — 2020-07-03
- 1.0.2 — 2020-07-03
- 1.0.1 — 2020-04-10
- 1.0.0 — 2020-04-10

## README

# @epoint-fe/fe-tool

## Install

```sh
npm i @epoint-fe/fe-tool -g
```

## Use

```sh
# 查看帮助
fe-tool
fe-tool --help

# 初始化配置文件
fe-tool init

# 启动监控
# 默认含：
# sass 监控编译： sass -> postcss -> autoprefixer -> cssnano
# js 监控压缩 js -> uglify3
# BrowserSync 文件变化自动刷新浏览器
fe-tool start -c epoint.config.js

# 抽取主题 命令之后是交互式终端
fe-tool copytheme

# 编译 sass/scss
fe-tool sass -f [要编译文件sass、scss文件] -m [是否同时输出.min.css文件] -o [输出目录] -w [是否watch]

# 压缩文件 js/css 同目录下输出 a.min.js b.min.css
fe-tool min a.js b.css -o [输出目录] -w [是否watch]
```

![](https://qiniu.cdswyda.com/github/fe-tool-demo.gif)

## options

查看生成的 `epoint.config.js` 文件。

---
_Source: https://npm.io/package/@epoint-fe/fe-tool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
