Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@topibd/ibd-package-cli

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@topibd/ibd-package-cli

ibd-package-cli

latest
npmnpm
Version
2.2.3
Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

ibd-package-cli

安装:

全局安装: npm install -g @topibd/ibd-package-cli

命令行:

ibd-pg init/i             // 创建新的打包项目
ibd-pg copyPackage/cp     // 复制要编译打包的模块
ibd-pg changeOutPath/cop  // 修改编译打包输出路径;
ibd-pg -h/ --help         // 查看帮助

设置参数:

package name      // 设置要打包发布的包的名称,这个名称要和包里面的主模块的名称一致,必填项!
package outpath   // 设置打包测试时输出的路径,默认为‘../../app’,一般不填,直接跳过。
description       // 设置包的描述。

example:

要打包sys-user模块:
一、创建编译打包环境:ibd-pg init
    1. enter 填写包名:sys-user ;包名取决于sys-user.module.ts;取该模块的模块名即可
    2. enter 填写测试包输出路径,默认为‘../../app’,可不填跳过;
    3. enter 填写包的描述;
二、复制要打包的模块到当前打包环境的lib文件夹下:ibd-pg cp
    1. enter 输入要打包的模块相对于当前打包环境的路径:默认为:../../app/src/ + 包名 ,以sys-user为例,默认路径为:../../app/src/sys-user
三、执行gulp命令编译打包;
四、要想修改打包输出路径,可执行: ibd-pg cop;输入输出路径即可;

FAQs

Package last updated on 24 Jul 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