1.5.23 • Published 2 months ago

testttttttt v1.5.23

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

准备工作:

  1. 安装

    npm install tky-bin -g

  2. 初始化设置sourcemap存放路径 *

    tk set-mappath

    建议项目目录如下: 
    ├─web-3.0
    │   └── 标准版
    │   └── 标准版>4.5.0
    │   └── xx定制
    │   └── xx定制2
    │   └── sourcemap
    ? 请输入sourcemap包存储路径: /Applications/我的工作/TK/mycode/gitlab/tk_h5_source/web-3.0/sourceMap/

命令说明

Options:

-V, --version output the version number -h, --help display help for command

Commands:

publish 打包上线用的 p 打包上线用的(简写)

mobild-publish 手机h5打包上线用的 mp 手机h5打包上线用的(简写)

whiteboard-publish 白板sdk打包上线用的 wp 白板sdk打包上线用的(简写)

admin-publish 后台项目打包上线用的 ap 后台项目打包上线用的(简写)

dev 启动项目进行开发

map-server 启动sourcemap服务 ms 启动sourcemap服务(简写)

set-mappath 修改sourcemap存放位置 smp 修改sourcemap存放位置(简写)

set-webpath 修改标准版存放位置 swp 修改标准版存放位置(简写)

diff-branch 对比分支/tag db 对比分支/tag(简写)

hide-branch 隐藏分支 hb 隐藏分支(简写)

remove-branch 删除分支 rb 删除分支(简写)

push-tag 打tag pt 打tag(简写)