]> Untitled Git - lemmy-ui.git/commitdiff
Merge branch 'main' into route-data-refactor
authorSleeplessOne1917 <abias1122@gmail.com>
Sat, 17 Jun 2023 02:25:18 +0000 (02:25 +0000)
committerGitHub <noreply@github.com>
Sat, 17 Jun 2023 02:25:18 +0000 (02:25 +0000)
1  2 
package.json

diff --cc package.json
index 20e5645d7a6429f3f8ff2526f1ef5577c76afca5,5eae485c4e9edcd3906d8a4e72cf4cbd3120039c..3f6c4ed0b79211c8fd7e062ad599fdb5c0b94274
      "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",