Skip to content

Commit

Permalink
chore: add pack scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
phaux committed May 13, 2024
1 parent 4776122 commit bcbd290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.parcel-cache/
/parcel-bundle-reports/
/web-ext-artifacts/
/*.zip
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"source": "src/manifest.json",
"scripts": {
"format": "eslint --ignore-path .gitignore --fix . && prettier --ignore-path .gitignore --write .",
"pack:dist": "pushd dist && zip -r ../telegram-send.zip . && popd",
"pack:src": "zip -r telegram-send-src.zip README.md package.json package-lock.json src tsconfig.json .eslintrc.json .postcssrc.json tailwind.config.js",
"prepare": "parcel build --config @parcel/config-webextension --log-level verbose --no-source-maps --no-cache --reporter @parcel/reporter-bundle-analyzer",
"test": "tsc --noEmit && eslint --ignore-path .gitignore . && prettier --ignore-path .gitignore --check .",
"watch": "parcel watch --config @parcel/config-webextension --host localhost"
Expand Down

0 comments on commit bcbd290

Please sign in to comment.