Skip to content

Commit

Permalink
feat: npm run firefox:nightly
Browse files Browse the repository at this point in the history
Runs extension in Firefox Nightly, downloads the latest one if missing.
  • Loading branch information
lidel committed May 26, 2020
1 parent 9d96232 commit 17dcd9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DEVELOPER-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Each `npm` task can run separately, but most of the time, `dev-build`, `test`, a
- `npm run lint:standard`: Run [Standard](http://standardjs.com) linter ([IPFS JavaScript projects default to standard code style](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md))
- `npm run lint:web-ext`: Run [addons-linter](https://github.com/mozilla/addons-linter) shipped with `web-ext` tool
- `npm run firefox`: Run as temporary add-on in Firefox
- `npm run firefox:nightly`: Run as temporary add-on in Firefox Nightly (uses one in `./firefox/`, see `get-firefox-nightly` below)
- `npm run chromium`: Run as temporary add-on in Chromium
- `npm run get-firefox-nightly`: Fetch latest Firefox nightly build to `./firefox/`
- `npm run firefox:beta:add -- --update-link "https://host/path/to/file.xpi" file.xpi`: Add a manifest entry for new self-hosted beta for Firefox
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"prepush": "run-s clean build lint test",
"chromium": "run-s bundle:chromium && web-ext run --target chromium",
"firefox": "run-s bundle:firefox && web-ext run --url about:debugging",
"firefox:nightly": "cross-env PATH=\"./firefox:$PATH\" run-s get-firefox-nightly firefox",
"firefox:beta:add": "faauv --update ci/firefox/update.json ",
"get-firefox-nightly": "shx test -e ./firefox/firefox || get-firefox -b nightly -e",
"changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s",
Expand Down

0 comments on commit 17dcd9f

Please sign in to comment.