Authored by lore-w

libs打包bug

... ... @@ -82,6 +82,7 @@ function libPkgPre() {
fs.writeFileSync('package.json', libCon); //生成库文件pkg配置
var packages = [];
for (key in obj.spm.dependencies) {
console.log(obj.spm.inside);
if (obj.spm.inside && obj.spm.inside[key]) {
packages.push(obj.spm.inside[key]);
} else {
... ...
... ... @@ -21,12 +21,14 @@
"iscroll": "5.1.2",
"underscore": "1.6.0",
"import-style": "1.0.0",
"yoho.jgestures": "0.9.2",
"yoho.pjax": "1.0.0"
"yoho.jgestures": "0.9.2"
},
"devDependencies": {
"expect.js": "0.3.1"
},
"inside": {
"iscroll": "iscroll/iscroll-probe"
},
"buildArgs": "--idleading {{}} --include all"
},
"devDependencies": {
... ...
{
"name": "guang",
"version": "1.3.0",
"version": "1.3.1",
"description": "yohobuy-mobile saunter src",
"keywords": [],
"homepage": "",
... ... @@ -20,8 +20,7 @@
"mlellipsis": "0.0.6",
"iscroll": "5.1.2",
"underscore": "1.6.0",
"import-style": "1.0.0",
"yoho.pjax": "1.0.0"
"import-style": "1.0.0"
},
"devDependencies": {
"expect.js": "0.3.1"
... ...