Skip to content

Commit

Permalink
Add scritp to refresh the extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitahl committed Sep 2, 2024
1 parent 00d633c commit f1d1b1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 8 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@ or watch changes:
```sh
yarn watch
```
6. Create a zip archive containing all of the HTML files, `manifest.json` file and `dist` and `images` folders.
7. Open following URL in Firefox: [about:debugging#/runtime/this-firefox](about:debugging#/runtime/this-firefox)
8. Upload the zip archive
6. Install [web-ext](https://www.npmjs.com/package/web-ext) package:
```sh
npm install --global web-ext
```
7. Run the `start` command to execute the web-ext package (`web-ext run`) to refresh extension on change
```sh
yarn run start
```

## Codestyle

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"lint": "eslint .",
"build": "gulp --development",
"build-prod": "gulp --production",
"watch": "gulp watch --development"
"watch": "gulp watch --development",
"start": "web-ext run"
},
"dependencies": {
"@babel/core": "^7.25.2",
Expand Down

0 comments on commit f1d1b1c

Please sign in to comment.