Socket
Socket
Sign inDemoInstall

@epoint-fe/fe-tool

Package Overview
Dependencies
20
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @epoint-fe/fe-tool

epoint frontend build tools


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@epoint-fe/fe-tool

Install

npm i @epoint-fe/fe-tool -g

Use

# 查看帮助
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]

options

查看生成的 epoint.config.js 文件。

FAQs

Last updated on 08 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc