From 784c668925145ea866b5ab62d0f5f4945a6d30dc Mon Sep 17 00:00:00 2001 From: Okinea Dev <81070564+okineadev@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:26:14 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20Improve=20scri?= =?UTF-8?q?pts=20in=20`package.json`=20(#2569)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 78ef1cd01f..095c795589 100644 --- a/package.json +++ b/package.json @@ -9,24 +9,24 @@ "compile": "tsc -p ./", "compile:declarations": "tsc -p ./tsconfig.declarations.json", "postcompile": "bun run compile:declarations && bun run generateJson && bun run generateClones && bun run check", - "build": "bun run compile && bun run ./build/build-with-esbuild.ts", - "watch": "bun run ./build/watch-with-esbuild.ts", - "changelog": "changelog-machine --config changelog.config.json", - "check-colors": "bun run ./src/scripts/svg/checkSvgColors.ts", + "build": "bun run compile && bun ./build/build-with-esbuild.ts", + "watch": "bun ./build/watch-with-esbuild.ts", + "changelog": "changelog-machine --config ./changelog.config.json", + "check-colors": "bun ./src/scripts/svg/checkSvgColors.ts", "check": "bun ./src/scripts/icons/checks/run.ts", "contributors": "bun ./src/scripts/contributors/contributors.ts", - "generateJson": "bun ./src/scripts/icons/generateJson.ts > dist/material-icons.json", + "generateJson": "bun ./src/scripts/icons/generateJson.ts > ./dist/material-icons.json", "generateClones": "bun ./src/scripts/icons/generateClones.ts", - "lint": "bunx @biomejs/biome check --write ./src", - "format": "bunx @biomejs/biome format --write ./src", - "preversion": "bun run contributors && git add images/contributors.png && bun run preview && git add images/fileIcons.png && git add images/folderIcons.png && bun run svgo && git add icons/*.svg", + "lint": "biome check --write ./src", + "format": "biome format --write ./src", + "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/{contributors,fileIcons,folderIcons}.png icons/*.svg", "preview": "bun ./src/scripts/preview/run.ts", "svgo": "svgo -i icons -o icons -q", "test": "bun test", "version": "bun run changelog && git add CHANGELOG.md", "vscode:prepublish": "bun run lint && bun run build", - "verify": "bunx sheriff verify", - "prepublishOnly": "bun run ./src/scripts/module/prepare.ts", + "verify": "sheriff verify", + "prepublishOnly": "bun ./src/scripts/module/prepare.ts", "postpublish": "git checkout package.json && git checkout README.md" }, "publisher": "PKief",