Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 741 Bytes

README.md

File metadata and controls

41 lines (34 loc) · 741 Bytes

kaitlyn-cli

Build Status

通过copy命令行工具将当前项目动态安装到,指定项目的node_modules目录下。

Install

npm i -g kaitlyn-cli

Uesage

kaitlyn copy -p [target project path]

Default Configuration

{
  "commands": [
    "rm -rf build",
    "npm run build"
  ],
  "source": "build/*"
}

Configuration

Add .kaitlynrc.json file to root path

{
  "commands": [
    "rm -rf build",
    "npm run build"
  ],
  "source": "build/*"
}
  • commands: build script commands
  • source: output directory of build result