Skip to content

基于commander、webpack5 开发的脚手架工具,目前支持一键开发运行、压缩打包功能(目前在基于原版重构)。

Notifications You must be signed in to change notification settings

jweboy/jweboy-cli

Repository files navigation

jweboy-cli

一个可以提高日常开发效率的 cli 脚手架

Getting Started

npm install -g jweboy-cli

yarn global  add jweboy-cli

Future

  • -i, --init 新建项目模版,主要包括 react+webpack模版eslint+prettier模版

  • -d --deploy 静态资源部署,主要通过 ssh 连接远程服务器,然后自动执行目录文件拷贝。

Description

项目采用 lerna 进行多个 package 的管理,配置文件如下:

{
  "packages": ["packages/*"],
  "version": "0.0.1",
  "command": {
    "bootstrap": {
      "npmClientArgs": ["--no-package-lock"]
    }
  }
  "npmClient": "yarn"
}

lerna 使用命令说明

$ lerna bootstrap 安装所有 `package` 的依赖模块
$ lerna clean 删除所有 `package` 的依赖模块

TODO

  • lerna 增加 workspace 配置(搭建个人 npm 仓库)

About

基于commander、webpack5 开发的脚手架工具,目前支持一键开发运行、压缩打包功能(目前在基于原版重构)。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published