diff options
author | Marco <marcoambrosini@icloud.com> | 2024-03-25 12:58:46 +0100 |
---|---|---|
committer | Marco <marcoambrosini@icloud.com> | 2024-03-25 14:37:14 +0100 |
commit | 34fb38b758cd9ab99b14997888a9e95a8d5d7eb9 (patch) | |
tree | a6f0bd4d27318e8c4a28ae87c4eb721eab60e8d6 /package.json | |
parent | ce864b42771ec7b9f0e0c3017cca57a1f16a339a (diff) | |
download | nextcloud-server-34fb38b758cd9ab99b14997888a9e95a8d5d7eb9.tar.gz nextcloud-server-34fb38b758cd9ab99b14997888a9e95a8d5d7eb9.zip |
chore: Make sass command compatible with macos
Signed-off-by: Marco <marcoambrosini@icloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json index 1c1993bc8a9..3c50ccea5be 100644 --- a/package.json +++ b/package.json @@ -12,14 +12,14 @@ "postbuild": "npm run sass && npm run sass:icons", "dev": "webpack --node-env development --progress", "watch": "webpack --node-env development --progress --watch", - "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern", - "lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix", + "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern", + "lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:jsunit": "karma start tests/karma.config.js --single-run", - "sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)", - "sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)", + "sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)", + "sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)", "sass:icons": "babel-node core/src/icons.js", "cypress": "npm run cypress:component && npm run cypress:e2e", "cypress:component": "cypress run --component", |