mirror of
https://github.com/mue/mue.git
synced 2026-07-17 05:54:14 +02:00
feat(dev): automate build zip creation
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
"@commitlint/config-conventional": "^17.4.4",
|
||||
"@eartharoid/deep-merge": "^0.0.2",
|
||||
"@vitejs/plugin-react-swc": "^3.2.0",
|
||||
"adm-zip": "^0.5.10",
|
||||
"eslint": "^8.36.0",
|
||||
"eslint-config-prettier": "^8.7.0",
|
||||
"eslint-config-react-app": "^7.0.1",
|
||||
@@ -56,8 +57,6 @@
|
||||
"dev:host": "vite --host",
|
||||
"translations": "cd scripts && node updatetranslations.js",
|
||||
"build": "vite build",
|
||||
"prepare:chrome": "cp manifest/chrome.json dist/manifest.json && cp -r manifest/_locales dist/_locales && cp manifest/background-chrome.js dist/background-chrome.js",
|
||||
"prepare:firefox": "rm -rf dist/_locales && cp manifest/firefox.json dist/manifest.json",
|
||||
"pretty": "prettier --write \"./**/*.{js,jsx,json,scss,css}\"",
|
||||
"lint": "eslint --ext .js,.jsx src/** && stylelint \"**/*.scss\"",
|
||||
"lint:fix": "eslint --ext .js,.jsx src/** --fix && stylelint \"**/*.scss\" --fix",
|
||||
|
||||
Reference in New Issue
Block a user