soulkit
v1.2.0
Published
> TODO: description
Downloads
1
Readme
dkit 脚手架
__ __
____ ___ ______ / /______ _(_)___ _____/ /___ _
/ __ `/ / / / __ \/ //_/ __ `/ / __ `/ __ / __ `/
/ /_/ / /_/ / /_/ / ,< / /_/ / / /_/ / /_/ / /_/ /
\__, /\__,_/\____/_/|_|\__,_/_/\__, /\__,_/\__, /
/____/ /____/ /____/
📦 安装
npm install -g dkit
//or
yarn global add dkit
创建项目
dkit create my-app
命令
dkit -v 查询版本号
dkit --help 获取帮助
dkit update 检查更新
本地开发
npm link
之后正常使用dkit 命令
发布npm
npm publish
工具
- commander (Node 的命令行解析库)
- inquirer (实现命令行之间的交互)
- fs-extra (基础文件操作库)
- chalk (粉笔:控制台字符颜色样式)
- ora (优雅的进度条)
- download (实现文件远程下载)
- handlebars (实现模板字符替换)
- log-symbols (为各种日志级别提供着色符号)
- update-notifier (npm 在线检查更新)
npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
removed 3 packages and audited 164 packages in 2.957s
25 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
/usr/local/bin/dkit -> /usr/local/lib/node_modules/dkit/bin/index
/usr/local/lib/node_modules/dkit -> /Users/guokai/Desktop/DIDI/dkit