From 48c9b565716d076b3ee6d278b313a6d59b4f2c66 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 23 May 2022 16:47:39 +1000 Subject: [PATCH] fix: add sass check to yarn ready --- package.json | 7 ++----- stylesheets/_variables.scss | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 7da61cd9a..7f911cbe1 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "integration-test": "npx playwright test", "integration-test-snapshots": "npx playwright test -g 'profile picture' --update-snapshots", "clean-transpile": "rimraf 'ts/**/*.js' 'ts/*.js' 'ts/*.js.map' 'ts/**/*.js.map' && rimraf tsconfig.tsbuildinfo;", - "ready": "yarn grunt && yarn lint-full && yarn test", + "ready": "yarn sass && yarn grunt && yarn lint-full && yarn test", "sedtoAppImage": "sed -i 's/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/\"target\": \"AppImage\"/g' package.json", "sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/g' package.json", "sass": "rimraf 'dist' && parcel build --target sass --no-autoinstall", @@ -237,10 +237,7 @@ "mac": { "category": "public.app-category.social-networking", "icon": "build/icon-mac.icns", - "target": [ - "dmg", - "zip" - ], + "target": ["deb", "rpm", "freebsd"], "bundleVersion": "1", "hardenedRuntime": true, "gatekeeperAssess": false, diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss index b1221dd36..ce82c3227 100644 --- a/stylesheets/_variables.scss +++ b/stylesheets/_variables.scss @@ -77,4 +77,4 @@ $border-radius: 5px; $message-container-border-radius: 16px; $font-size: 14px; -$font-size-small: calc(13/14) + em; +$font-size-small: calc(13 / 14) + em;