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 +1 -1
- package/tool/compress.js +1 -1
- package/tool/start.js +4 -1
package/package.json
CHANGED
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', '
|
|
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
|
}
|