Skip to content

Commit

Permalink
Add info on building the .xpi
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Nov 7, 2021
1 parent a484f19 commit 0e20189
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ can just copy the nbgitpuller URL, and share it with your students!
![nbgitpuller popover](screenshot-popover.png)

The JupyterHub URL and application you choose are remembered, so
you do not need to enter it over and over again.
you do not need to enter it over and over again.

## Building the webextension

```bash
npm install
npx webpack --mode=production
npx web-ext build -s dist/
```

This produces a `.xpi` file in `web-ext-artifacts/` you can use.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@babel/preset-react": "^7.16.0",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^9.0.1",
"web-ext": "^6.5.0",
"webpack": "^5.62.1",
"webpack-cli": "^4.9.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"name": "nbgitpuller generator",
"name": "nbgitpuller Link generator",
"version": "1.0",
"description": "Generate nbgitpuller links from your browser",
"icons": {
Expand Down

0 comments on commit 0e20189

Please sign in to comment.