From 9be7c5c87b776a69b9bba37f9c2a192bcb5eb282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Thu, 1 Jul 2021 14:57:27 +0300 Subject: [PATCH] Paligo styles build command --- package.json | 2 ++ yarn.lock | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/package.json b/package.json index 7de128165..a01e2b11a 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "affected:test": "nx affected:test", "build": "nx build", "build-lint-all": "ng lint --project=red-ui-http --fix && ng build --project=red-ui-http && ng lint --project=red-ui --fix && ng build --project=red-ui --configuration production", + "build-paligo-styles": "mkdir -p dist/paligo-styles && sass paligo-styles/style.scss > dist/paligo-styles/redacto-theme.css && cp -r apps/red-ui/src/assets/font dist/paligo-styles/fonts", "dep-graph": "nx dep-graph", "e2e": "nx e2e", "format": "nx format:write", @@ -63,6 +64,7 @@ "ngx-toastr": "^14.0.0", "papaparse": "^5.3.1", "rxjs": "~6.6.7", + "sass": "^1.35.1", "scroll-into-view-if-needed": "^2.2.28", "streamsaver": "^2.0.5", "tslib": "^2.2.0", diff --git a/yarn.lock b/yarn.lock index 3b606fad7..75e959ec1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12339,6 +12339,13 @@ sass@^1.32.8: dependencies: chokidar ">=3.0.0 <4.0.0" +sass@^1.35.1: + version "1.35.1" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.35.1.tgz#90ecf774dfe68f07b6193077e3b42fb154b9e1cd" + integrity sha512-oCisuQJstxMcacOPmxLNiLlj4cUyN2+8xJnG7VanRoh2GOLr9RqkvI4AxA4a6LHVg/rsu+PmxXeGhrdSF9jCiQ== + dependencies: + chokidar ">=3.0.0 <4.0.0" + sax@^1.2.4, sax@~1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"