crabatool 1.0.274 → 1.0.276

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.274",
3
+ "version": "1.0.276",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tool/compress.js CHANGED
@@ -72,7 +72,7 @@ function doCompress() {
72
72
  compressCrabaJs(inNames, 'agency.js', updateAgencyVersion);
73
73
 
74
74
  // craba.min.js
75
- inNames = ['type.js', 'craba.js', 'common.js', 'es6.js', 'controls.js', 'required.js', 'listView.js', 'crabaEx.js', 'crabaFC.js', 'crabaMS.js', 'drag.js'];
75
+ inNames = ['type.js', 'craba.js', 'common.js', 'es6.js', 'controls.js', 'required.js', 'drag.js', 'listView.js', 'crabaEx.js', 'crabaFC.js', 'crabaMS.js'];
76
76
  compressCrabaJs(inNames, 'craba.min.js', updateCrabaVersion);
77
77
 
78
78
  // crabaEx.min.js
package/tool/start.js CHANGED
@@ -93,7 +93,8 @@ class Start {
93
93
  { name: '-hidejspath', type: 'boolean' },
94
94
  { name: '-Debug', type: 'boolean' },
95
95
  { name: '-checkgspx', type: 'boolean' },
96
- { name: '-checkutf8', type: 'boolean' }
96
+ { name: '-checkutf8', type: 'boolean' },
97
+ { name: '-proxy', type: 'json' }
97
98
  ];
98
99
 
99
100
  for (var i = 0; i < keys.length; i++) {
@@ -125,6 +126,8 @@ class Start {
125
126
  value = value.split(',');
126
127
  } else if (type == 'boolean') {
127
128
  value = value == 'false' || value == 0 ? false : true;
129
+ } else if (type == 'json') {
130
+ value = JSON.parse(value);
128
131
  }
129
132
  config[key] = value;
130
133
  }