crabatool
v1.0.307
Published
crabatool
Downloads
780
Readme
使用方法
打开命令行终端,安装crabatool 输入:npm install crabatool -g 或从本地仓库安装(更快) npm install crabatool -g --registry http://172.17.0.236:4873/
快捷使用crabatool进行代码检测 比如,检查某个路径下面的所有js,可直接在命令行终端输入命令:crabatool -checkjs -webPath F:\Beefun\srcs\Beefun -modName Beefun
快捷使用crabatool启动nodejs服务 crabatool -run -webPath F:\shell_master\web\src\main\resources\static\shell
快捷使用crabatool更新指定项目的平台 crabatool -update -webPath F:\shell_master\web\src\main\resources\static\shell
-checkjs表示使用代码检查功能; -webPath表示要检查哪个站点的路径; -modName表示项目名称
功能介绍
提供前端本地服务功能;【实现】
自动刷新浏览器,监听到 css、js、gspx 文件有变动,会自动刷新网页,提高开发效率。配置项:config.refresh = true;【实现】
根据配置自动打包 biz.js 和 init.js,针对 ngp 的功能,减少 http 请求;【实现】
本地服务启动后自动打开浏览器预览页面;【实现】
更新或安装本地 IDEA\VsCode 的智能语法提示;【未实现】
更新或安装本地 IDEA\VSCode 的新建页面模板;【未实现】
新建空白项目和 ngp 项目;【未实现】
根据配置将当前项目所有业务 js 文件统一打包、es6 语法转换、文件合并;【未实现】