1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-30 17:20:31 +02:00

build fix

This commit is contained in:
codecalm
2023-02-22 23:43:35 +01:00
parent 674f6da275
commit 9276372c1c

View File

@@ -16,13 +16,13 @@
"directory": "packages/icons-webfont"
},
"scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run build:prepare && pnpm run build:outline && pnpm run build:optimize && pnpm run build:fix-outline && pnpm run build:webfont && pnpm run build:css && pnpm run build:clean",
"build": "pnpm run clean && pnpm run copy && pnpm run build:prepare && pnpm run build:outline && pnpm run build:optimize && pnpm run build:fix-outline && pnpm run build:webfont && pnpm run build:css && pnpm run build:clean",
"build:prepare": "mkdir -p icons-outlined fonts && rm -fd icons-outlined/* fonts/*",
"build:outline": "node .build/build-outline.mjs",
"build:optimize": "svgo icons-outlined/*",
"build:fix-outline": "fontforge -lang=py -script .build/fix-outline.py",
"build:webfont": "rm -fd fonts/* && node .build/build-webfont.mjs",
"build:css": "scss tabler-icons.scss tabler-icons.css --style expanded && scss tabler-icons.scss tabler-icons.min.css --style compressed",
"build:css": "sass tabler-icons.scss tabler-icons.css --style expanded && sass tabler-icons.scss tabler-icons.min.css --style compressed",
"build:clean": "rm -rf ./icons-outlined",
"clean": "rm -rf ./iconfont",
"copy": "pnpm run copy:license",