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:
@@ -17,7 +17,7 @@
|
||||
"bundlewatch": "bundlewatch",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"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",
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user