New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@deepjs/cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepjs/cli

Command line interface for rapid js development

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

js-cli

小工具,将重复简单的工作,使用工具来处理

为什么需要需要脚手架?

  • 减少重复性的工作,不再需要复制其他项目再删除无关代码,或者从零创建一个项目和文件。

  • 根据交互动态生成项目结构和配置文件等。

  • 多人协作更为方便,不需要把文件传来传去。

  • 使用(参考 @vue/cli)

    • 创建、添加时,如果是远程地址,先下载内容到临时目录,之后处理到目标位置
    • 支持初始化新项目 jscli create <template> <name>
    • 支持项目内添加组件、模块、页面(同 create)jscli add <template> <name>
      • 提示输出添加位置(相对路径)
    • 创建或添加时,支持交互式的生成
    • 升级检测?对当前应用进行检测提示升级
  • 模板管理(参考 npm config & nrm 的形式)

    • 支持提供官方模板列表
    • 支持添加自定义模板,使用配置 ~/.jsclirc
    • 查看模板列表 jscli tpls ls [--json]
    • 添加模板 jscli tpls add <key> <value>
    • 删除模板 jscli tpls del <key>
    • 编辑模板 jscli tpls edit,调用默认编辑器编辑(也可以考虑使用 VIM)
    • 校验模板数据有效性 jscli tpls check

参考:

Keywords

cli

FAQs

Package last updated on 08 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts