Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-cacheinfo

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cacheinfo

cacheinfo.

  • 0.3.3
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

grunt-cacheinfo

针对项目生成cache_info.json文件

配置方法

cacheinfo: {
	options: {
		abc: "abc.json",// 设置当前项目的abc.json地址
		src: "build_offline",// 目标目录
		dest: "build_offline/cache_info.json",//生成的cache_info.json
	    genABCJSON: 'build_offline/abc.json',
	    extMeta: {  // 其他需要放到 abc.json 中的扩展字段
	        ...
	    }
	}
},

注意:abc.json 必须是标准格式

Release History

  • 0.1.16
    • add options.extMeta for external meta object.
  • 0.1.14
    • 支持 rn cache 配置
  • 0.1.13
    • grunt.registerTask => grunt.registerMultiTask
  • 0.1.12
    • 升级 cache_info.json -> abc.json,加入配置项 genABCJSON,当配置上 genABCJSON 时,**不再输出 options.dest **。
  • 0.1.10
    • 优化读取项目配置文件
  • 0.1.6
    • 如果预发config.json没有配置包路径的时候,取当前abc.json里的配置
  • 0.1.4
    • 读取不到包配置时,直接跳过该任务避免报错
  • 0.2.0
    • add weex offline support.
  • 0.2.1
    • filter weex files.
  • 0.2.2
    • using -min.js for weex map.
  • 0.2.3
    • bugfix for weex cache, add options.wxDir to define weex entry page jsbundle dir.
  • 0.3.0
    • 新增 onlinePrefix 指定线上备份路径前缀
  • 0.3.1
    • mv onlinePrefix to cache
  • 0.3.2
    • bugfix for weex cacheinfo.

Keywords

FAQs

Package last updated on 04 Jan 2017

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