Authored by lore-w

libs打包bug

@@ -82,6 +82,7 @@ function libPkgPre() { @@ -82,6 +82,7 @@ function libPkgPre() {
82 fs.writeFileSync('package.json', libCon); //生成库文件pkg配置 82 fs.writeFileSync('package.json', libCon); //生成库文件pkg配置
83 var packages = []; 83 var packages = [];
84 for (key in obj.spm.dependencies) { 84 for (key in obj.spm.dependencies) {
  85 + console.log(obj.spm.inside);
85 if (obj.spm.inside && obj.spm.inside[key]) { 86 if (obj.spm.inside && obj.spm.inside[key]) {
86 packages.push(obj.spm.inside[key]); 87 packages.push(obj.spm.inside[key]);
87 } else { 88 } else {
@@ -21,12 +21,14 @@ @@ -21,12 +21,14 @@
21 "iscroll": "5.1.2", 21 "iscroll": "5.1.2",
22 "underscore": "1.6.0", 22 "underscore": "1.6.0",
23 "import-style": "1.0.0", 23 "import-style": "1.0.0",
24 - "yoho.jgestures": "0.9.2",  
25 - "yoho.pjax": "1.0.0" 24 + "yoho.jgestures": "0.9.2"
26 }, 25 },
27 "devDependencies": { 26 "devDependencies": {
28 "expect.js": "0.3.1" 27 "expect.js": "0.3.1"
29 }, 28 },
  29 + "inside": {
  30 + "iscroll": "iscroll/iscroll-probe"
  31 + },
30 "buildArgs": "--idleading {{}} --include all" 32 "buildArgs": "--idleading {{}} --include all"
31 }, 33 },
32 "devDependencies": { 34 "devDependencies": {
1 { 1 {
2 "name": "guang", 2 "name": "guang",
3 - "version": "1.3.0", 3 + "version": "1.3.1",
4 "description": "yohobuy-mobile saunter src", 4 "description": "yohobuy-mobile saunter src",
5 "keywords": [], 5 "keywords": [],
6 "homepage": "", 6 "homepage": "",
@@ -20,8 +20,7 @@ @@ -20,8 +20,7 @@
20 "mlellipsis": "0.0.6", 20 "mlellipsis": "0.0.6",
21 "iscroll": "5.1.2", 21 "iscroll": "5.1.2",
22 "underscore": "1.6.0", 22 "underscore": "1.6.0",
23 - "import-style": "1.0.0",  
24 - "yoho.pjax": "1.0.0" 23 + "import-style": "1.0.0"
25 }, 24 },
26 "devDependencies": { 25 "devDependencies": {
27 "expect.js": "0.3.1" 26 "expect.js": "0.3.1"