点米.前端.CLI工具


License
MIT
Install
npm install dm-cli@0.4.8-3

Documentation

dm-cli

格式化lint、打包等脚本集成

install

?> 安装后会自动添加 precommit 钩子格式化代码

yarn add dm-cli

help

Usage: yarn dm [options] [command]


  Commands:

    lint           格式化&&eslint
    start          启动服务 compile-pre => start
    doc          预览doc文档
    pack           打包 update -> lint -> build -> tag -> push

  Options:

    -h, --help     output usage information
    -V, --version  output the version number