grunt-inc-offline

0.1.0 • Public • Published

grunt-inc-offline

增量包构建模块

安装

npm install grunt-inc-offline --save-dev

加载任务

grunt.loadNpmTasks('grunt-inc-offline');

配置项

options.incDir

Type: String Default value: "inc_offline"

增量包打包工作目录。

options.offlineDir

Type: String Default value: "build_offline"

离线包存放目录,用于目录 diff。

options.curVersion

Type: String Default value: null Required: true

当前离线包版本号。

options.topN

Type: Number Default value: 5

针对 topN 打增量包。

options.histDiffFile

Type: String Default value: "hist-diff.json"

历史增量包 diff 记录文件。

options.zipPassWord

Type: String Default value: null

打增量包时对包加密的密码。

历史版本

  • [0.1.0]
    • 初始版本。

License

Copyright (c) 2015 弘树. Licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i grunt-inc-offline

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • dickeylth