Skip to content

Commit

Permalink
chore: 压缩svg
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSky-07 committed Dec 31, 2024
1 parent f8750eb commit 4d834e3
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 44,866 deletions.
4,963 changes: 1 addition & 4,962 deletions img/baiyun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,440 changes: 1 addition & 2,439 deletions img/c.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,895 changes: 1 addition & 1,894 deletions img/daniu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,872 changes: 1 addition & 1,871 deletions img/guobiao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,770 changes: 1 addition & 1,769 deletions img/jiandao3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,801 changes: 1 addition & 1,800 deletions img/jiandao6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,984 changes: 1 addition & 4,983 deletions img/lantian.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,802 changes: 1 addition & 1,801 deletions img/pinyinjiajia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,816 changes: 1 addition & 1,815 deletions img/sougou.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,822 changes: 1 addition & 1,821 deletions img/weiruan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,058 changes: 1 addition & 2,057 deletions img/xiaoguan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,804 changes: 1 addition & 1,803 deletions img/xiaohe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,800 changes: 1 addition & 1,799 deletions img/xiaolang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,997 changes: 1 addition & 4,996 deletions img/xiaoyue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,812 changes: 1 addition & 1,811 deletions img/xingkong.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,845 changes: 1 addition & 1,844 deletions img/yunbiaokuaipin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,809 changes: 1 addition & 1,808 deletions img/zhinengabc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,793 changes: 1 addition & 1,792 deletions img/ziguang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,800 changes: 1 addition & 1,799 deletions img/ziranma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
"clear": "node scripts/clear.js",
"bundle": "node scripts/bundle.js",
"rename": "node scripts/rename.js",
"build": "npm run clear && npm run build:src && npm run rename",
"build": "npm run clear && npm run build:src && npm run rename && npm run build:svg",
"build:src": "npm run bundle && npm run build:js && npm run build:css && npm run build:html",
"build:js": "npx babel src/app.bundle.js -d build && npx babel src/scheme -d build/scheme && npx babel src/keyboard-layout -d build/keyboard-layout",
"build:css": "npx cleancss src/style.css -o build/style.min.css",
"build:html": "npx html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true index.src.html -o index.html",
"build:svg": "npx svgo -f img",
"debug": "npm run clear && npm run debug:src && npm run rename",
"debug:src": "npm run bundle && npm run debug:js && npm run debug:css && npm run debug:html",
"debug:js": "node scripts/copy.js src build",
Expand Down Expand Up @@ -42,7 +43,8 @@
"html-minifier": "latest",
"fs-extra": "latest",
"serve": "latest",
"archiver": "latest"
"archiver": "latest",
"svgo": "latest"
},
"dependencies": {}
}

0 comments on commit 4d834e3

Please sign in to comment.