Skip to content

一些图片批量处理脚本,用于React Native项目

Notifications You must be signed in to change notification settings

SexySix/SSScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSScript

一些图片批量处理脚本,用于React Native项目

使用方法

重命名

rpn a b
rpn a.png b
rpn [email protected] b
rpn [email protected] b

以上代码均可将当前目录下a.png的所有1x,2x,3x文件重命名为b.png的对应文件。

输出相关文件夹的对应JS代码

cpn a

若当前目录下有a文件夹,a文件夹中有b.png,[email protected],[email protected]c.png,[email protected],[email protected]文件。 将输出以下内容

a: {
    b: require('./a/b.png'),
    c: require('./a/c.png')
}

About

一些图片批量处理脚本,用于React Native项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published