From 339cf4c451403f8dc7e789ea8d8f92d8caa34b87 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Fri, 12 Aug 2022 02:47:08 +0200 Subject: [PATCH] chore: only run icons command manually --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e4b39d1d53..e96e6cb4ddc 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "src" ], "scripts": { - "prebuild": "npm run clean && node scripts/preParcel.js && npm run update:icons", + "prebuild": "npm run clean && node scripts/preParcel.js", "build": "npm run tsdx build && parcel build", "clean": "rimraf lib", "coverage": "npm test -- --coverage", @@ -61,7 +61,7 @@ "test": "jest", "tsdx": "tsdx --tsconfig ./tsconfig.tsdx.json", "type-check": "tsc --noEmit", - "update:icons": "cp node_modules/@sanity/server/lib/static/favicons/* src/studio/static && cp src/studio/static/favicon-192.png public && cp src/studio/static/favicon-512.png public && cp src/studio/static/webmanifest.json public/manifest.webmanifest" + "update:icons": "cp node_modules/@sanity/server/lib/static/favicons/* src/studio/static && cp src/studio/static/favicon-{192,512}.png public && cp src/studio/static/webmanifest.json public/manifest.webmanifest" }, "browserslist": "chrome 59, safari 11, firefox 56, edge 14, ie 11", "prettier": {