diff --git a/package.json b/package.json index c7d01b9..4c16cf6 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "manifest:firefox": "jq -s '.[0] * .[1]' src/manifests/base.manifest.json src/manifests/firefox.manifest.json > src/manifest.json", "manifest:chrome": "jq -s '.[0] * .[1]' src/manifests/base.manifest.json src/manifests/chrome.manifest.json > src/manifest.json", "manifest:opera": "jq -s '.[0] * .[1]' src/manifests/base.manifest.json src/manifests/opera.manifest.json > src/manifest.json", - "dev:firefox": "npm run manifest:firefox && mix", - "dev:chrome": "npm run manifest:chrome && mix", - "dev:opera": "npm run manifest:opera && mix", - "prod:firefox": "npm run manifest:firefox && mix --production", - "prod:chrome": "npm run manifest:chrome && mix --production", - "prod:opera": "npm run manifest:opera && mix --production", + "dev:firefox": "rm -rf dist && npm run manifest:firefox && mix", + "dev:chrome": "rm -rf dist && npm run manifest:chrome && mix", + "dev:opera": "rm -rf dist && npm run manifest:opera && mix", + "prod:firefox": "rm -rf dist && npm run manifest:firefox && mix --production", + "prod:chrome": "rm -rf dist && npm run manifest:chrome && mix --production", + "prod:opera": "rm -rf dist && npm run manifest:opera && mix --production", "watch:chrome": "npm run manifest:chrome && && mix watch", "build:firefox": "npm run prod:firefox && rm -rf dist-zip && npm run zip", "build:chrome": "npm run prod:chrome && rm -rf dist-zip && npm run zip",