Socket
Book a DemoInstallSign in
Socket

ctx-old-ftp-updated

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctx-old-ftp-updated

Front-end package management, publish tools for CI & automation

latest
npmnpm
Version
1.2.23
Version published
Maintainers
1
Created
Source
 _____   _____   _____   _____   _____  __    __ 
/  ___| /  _  \ |  _  \ |_   _| | ____| \ \  / / 
| |     | | | | | |_| |   | |   | |__    \ \/ /  
| |     | | | | |  _  /   | |   |  __|    }  {   
| |___  | |_| | | | \ \   | |   | |___   / /\ \  
\_____| \_____/ |_|  \_\  |_|   |_____| /_/  \_\ 

Cortex 是一个静态文件打包及发布工具。使用 Cortex 的项目,能够使用预设的滤镜及过滤规则进行打包,也可以根据自身的需要,在项目中进行灵活的配置。

安装及程序升级

见文档 doc/install.md

使用帮助

doc/usage.md

程序打包

ctx package [options]

只要指定了一个项目,Cortex 每次都会将这个项目打包到该项目的 .cortex/build/build-<timestamp> 文件夹中。

ctx package 包含多个参数,其中包括一些必要参数,他们是:

-e, --env		(必选)指定发布的环境。对一个名为 <config>.json 的配置文件,cortex 会尝试读取 <config>.<env>.json 的文件。该文件的优先级较低,若出现同名参数,可能会被显式指定的参数覆盖。对于点评来说,可选的参数有 'alpha', 'qa'(beta), 'product'

-c, --cwd		(可选)指定需要打包的项目所在的目录。若这个参数没有指定目录或者该参数的值为 `.`,则 Cortex 会使用当前工作目录

代码上传

ctx upload [options]

(未完待续)

Keywords

cortex

FAQs

Package last updated on 05 Mar 2014

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