New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jio-cli

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jio-cli

```base npm i jio-cli -g ``` ## 命令 ```base jio-cli update 更新单个项目 jio-cli update --all 更新所有项目 jio-cli create 创建项目 jio-cli create --local 创建本地template jio-cli db 显示项目列表 jio-cli db --path 显示db路径 jio-cli -V 显示脚手架版本 ``` ## update更新文件 ```javascript modul

  • 0.3.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

安装

npm i jio-cli -g

命令

 jio-cli update 更新单个项目
 jio-cli update --all 更新所有项目
 jio-cli create 创建项目
 jio-cli create --local 创建本地template
 jio-cli db 显示项目列表
 jio-cli db --path 显示db路径
 jio-cli -V 显示脚手架版本

update更新文件

module.exports = {
  actions: [
    {
      //需要做处理的文件
      path: "./files/index.js",
      type: "u",//a:添加 u:更新 r:替换
      //run 可以是string或 async function
      // 当是async function时,表示对目标文件做处理
      // 做处理后返回字符串
      async run(source, {}) {
        return source;
      },
      // 当是string时,表示替换或添加的文件
      run:"./files/index.js"
    }
  ]
};

FAQs

Package last updated on 20 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc