1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

update build script

This commit is contained in:
codecalm
2024-09-07 14:02:13 +02:00
parent 1c34e8ed82
commit fe76a698cd

View File

@@ -17,7 +17,7 @@
"bundlewatch": "bundlewatch", "bundlewatch": "bundlewatch",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"changelog": "node .build/changelog.js", "changelog": "node .build/changelog.js",
"icons": "git checkout dev && BRANCH_NAME=\"dev-tabler-icons-`pnpm info @tabler/icons version`\" && git branch $BRANCH_NAME && git checkout $BRANCH_NAME && ncu -u @tabler/icons && pnpm install && pnpm run svg-icons && git add . && git commit -am \"update icons to v`pnpm info @tabler/icons version`\" && git push origin $BRANCH_NAME", "icons": "git checkout dev && BRANCH_NAME=\"dev-tabler-icons-`pnpm info @tabler/icons version`\" && git branch $BRANCH_NAME && git checkout $BRANCH_NAME && ncu -u @tabler/icons && pnpm install && pnpm run svg-icons && git add . && git commit -am \"update icons to v`pnpm info @tabler/icons version`\" && git push origin $BRANCH_NAME && git checkout dev",
"download-images": "node .build/download-images.js", "download-images": "node .build/download-images.js",
"optimize-images": "for i in ./src/static/photos/*.jpg; do convert \"$i\" -quality 80% \"${i%.jpg}.jpg\"; done", "optimize-images": "for i in ./src/static/photos/*.jpg; do convert \"$i\" -quality 80% \"${i%.jpg}.jpg\"; done",
"format:check": "prettier --check src/**/*.{js,scss} --cache", "format:check": "prettier --check src/**/*.{js,scss} --cache",