Fix: WebExt - Build command

This commit is contained in:
alstjr7375 2023-05-18 14:02:23 +09:00
parent 144d75b3e1
commit 3699003a3c
2 changed files with 7 additions and 1 deletions

4
.gitignore vendored
View file

@ -1,5 +1,9 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# For this project
addon/css
addon/icons
# Logs
logs
*.log

View file

@ -14,7 +14,9 @@
},
"homepage": "https://github.com/black7375/Firefox-UI-Fix#readme",
"scripts": {
"build": "sass --no-source-map src/leptonChrome.scss css/leptonChrome.css && sass --no-source-map src/leptonContent.scss css/leptonContent.css && prettier --write css/leptonChrome.css css/leptonContent.css",
"build": "yarn build:css && yarn build:addon",
"build:css": "sass --no-source-map src/leptonChrome.scss css/leptonChrome.css && sass --no-source-map src/leptonContent.scss css/leptonContent.css && prettier --write css/leptonChrome.css css/leptonContent.css",
"build:addon": "cp -rf css icons addon/",
"format": "prettier --write .",
"test": "jest",
"validate": "csstree-validator css/leptonChrome.css; csstree-validator css/leptonContent.css"