diff --git a/.gitignore b/.gitignore index 8d07ee2..6ba85f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .cache dist +build node_modules web-ext-artifacts yarn-error.log diff --git a/package.json b/package.json index e200c3a..751765d 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "build:v2": "npm run clear:dist ; npm run build:base && npm run pick:manifest:v2", "build:v3": "npm run clear:dist ; npm run build:base && npm run pick:manifest:v3", - "build": "npm run build:v3", - + "build": "rm -r ./build ; mkdir ./build && npm run build:v2 && zip -r ./build/manifest-v2.zip ./dist && npm run build:v3 && zip -r ./build/manifest-v3.zip ./dist", + "watch:v2": "npm run clear:dist ; npm run pick:manifest:v2 && npm-run-all -l -p watch:parcel watch:assets", "watch:v3": "npm run clear:dist ; npm run pick:manifest:v3 && npm-run-all -l -p watch:parcel watch:assets",