]> Untitled Git - lemmy-ui.git/commitdiff
Merge branch 'main' into generate-theme-css
authorSleeplessOne1917 <abias1122@gmail.com>
Thu, 15 Jun 2023 15:51:52 +0000 (15:51 +0000)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 15:51:52 +0000 (15:51 +0000)
1  2 
package.json

diff --cc package.json
index 2e09e897633f0cfc79907a34dc459443fd72d2a3,2298d9e140c6e40705f39fd9caf0e5173bc698ae..be239e96f7bca9773cde05d72b3b07c6f1a883d3
      "dev": "yarn start",
      "lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
      "prepare": "husky install",
 -    "start": "yarn build:dev --watch"
 +    "start": "yarn build:dev --watch",
 +    "themes:build": "sass src/assets/css/themes/:src/assets/css/themes",
 +    "themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes"
    },
    "lint-staged": {
-     "*.{ts,tsx,js}": [
-       "prettier --write",
-       "eslint --fix"
-     ],
-     "*.{css, scss}": [
-       "prettier --write"
-     ],
-     "package.json": [
-       "sortpack"
-     ]
+     "*.{ts,tsx,js}": ["prettier --write", "eslint --fix"],
+     "*.{css, scss}": ["prettier --write"],
+     "package.json": ["sortpack"]
    },
    "dependencies": {
      "@babel/plugin-proposal-decorators": "^7.21.0",