kn-cli 1.0.77 → 1.0.78

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": "kn-cli",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -24,7 +24,7 @@
24
24
  # cli 其它常用方法
25
25
  1. 查看版本号: `kn-cli -v`
26
26
  2. 创建辅助工具:`kn-cli --tool`
27
- 目前辅助工具有:图片压缩、word转html、iconfont
27
+ 目前辅助工具有:图片压缩、word转html、iconfont、资源引用检查
28
28
 
29
29
 
30
30
  # cli.config.js - 构建配置文件
@@ -97,6 +97,9 @@ module.exports = {
97
97
 
98
98
 
99
99
  # 更新日志
100
+ * 1.0.76
101
+ cli工具内增加资源引用检查工具,用来检查是否有大小写不匹配的资源引用
102
+
100
103
  * 1.0.75
101
104
  工程模版内jsconfig.json格式纠正
102
105
 
package/src/getTools.js CHANGED
@@ -24,6 +24,7 @@ module.exports=async ()=> {
24
24
  '图片压缩',
25
25
  'word转html',
26
26
  'iconFont图标字体',
27
+ '资源引用检查'
27
28
  ],
28
29
  default:''
29
30
  },
@@ -33,6 +34,8 @@ module.exports=async ()=> {
33
34
  case '图片压缩':{templateName='tinypng'}break;
34
35
  case 'iconFont图标字体':{templateName='iconfont'}break;
35
36
  case 'word转html':{templateName='word2html'}break;
37
+ case '资源引用检查':{templateName='fileCase'}break;
38
+
36
39
  }
37
40
  }
38
41