grunt-cacheinfo
Advanced tools
Comparing version 0.1.16 to 0.2.0
{ | ||
"name": "grunt-cacheinfo", | ||
"description": "cacheinfo.", | ||
"version": "0.1.16", | ||
"version": "0.2.0", | ||
"homepage": "http://gitlab.alibaba-inc.com/trip-tools/grunt-cacheinfo", | ||
@@ -22,3 +22,3 @@ "author": { | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
"node": ">= 0.12.0" | ||
}, | ||
@@ -29,3 +29,3 @@ "scripts": { | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt": "~0.4.5", | ||
"clam-util": "" | ||
@@ -37,3 +37,3 @@ }, | ||
"peerDependencies": { | ||
"grunt": "~0.4.1" | ||
"grunt": "~0.4.5" | ||
}, | ||
@@ -43,4 +43,2 @@ "keywords": [ | ||
], | ||
"_id": "grunt-cacheinfo@0.1.3", | ||
"_from": "grunt-cacheinfo@latest", | ||
"maintainers": [ | ||
@@ -50,24 +48,8 @@ { | ||
"email": "bachi@taobao.com" | ||
}, | ||
{ | ||
"name": "弘树", | ||
"email": "tiehang.lth@alibaba-inc.com" | ||
} | ||
], | ||
"directories": {}, | ||
"publish_time": 1418560962568, | ||
"_cnpm_publish_time": 1418560962568, | ||
"bugs": { | ||
"url": "https://github.com/jayli/grunt-combohtml/issues" | ||
}, | ||
"_shasum": "f227b353e47209cdc22e7b790e5516d45f4286af", | ||
"_npmVersion": "1.4.16", | ||
"_npmUser": { | ||
"name": "bachi", | ||
"email": "bachi@taobao.com" | ||
}, | ||
"dist": { | ||
"shasum": "f227b353e47209cdc22e7b790e5516d45f4286af", | ||
"size": 4784, | ||
"noattachment": false, | ||
"key": "grunt-cacheinfo/-/grunt-cacheinfo-0.1.3.tgz", | ||
"tarball": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.3.tgz" | ||
}, | ||
"_resolved": "http://registry.npm.alibaba-inc.com/grunt-cacheinfo/download/grunt-cacheinfo-0.1.3.tgz" | ||
] | ||
} |
@@ -36,2 +36,4 @@ # grunt-cacheinfo | ||
- 0.1.4 | ||
- 读取不到包配置时,直接跳过该任务避免报错 | ||
- 读取不到包配置时,直接跳过该任务避免报错 | ||
- 0.2.0 | ||
- add weex offline support. |
@@ -249,2 +249,12 @@ /* | ||
// weex 项目映射表生成, awpp 线上路径与本地文件路径映射 | ||
if (abc.type === 'weex') { | ||
var projectName = abc.name.replace(/^h5-/, ''); | ||
all_files.forEach(function (file, k) { | ||
if (/^pages/.test(file)) { | ||
abcJSON.cache['/js/' + abc.group + '/' + projectName + '/' + file] = file; | ||
} | ||
}); | ||
} | ||
clamUtil.fs.writeJSONFile(genABCJSONPath, abcJSON, function (err) { | ||
@@ -251,0 +261,0 @@ if (err) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
373
38
15391