Use local web-ext for the dev environment

This commit is contained in:
Danny Colin 2022-07-05 13:32:26 -04:00
parent b66e0fa6a3
commit ee3ead965f
2 changed files with 2 additions and 8 deletions

View file

@ -18,14 +18,8 @@
3. Install the project dependencies 3. Install the project dependencies
``` ```
npm install --legacy-peer-deps npm install --legacy-peer-deps
```
3. Install [web-ext][web-ext] command-line tool:
``` ```
npm install -g web-ext 4. Run `npm run dev`.
```
4. Run `web-ext run -s src/`.
## Translations ## Translations

View file

@ -36,7 +36,7 @@
"url": "git+https://github.com/mozilla/multi-account-containers.git" "url": "git+https://github.com/mozilla/multi-account-containers.git"
}, },
"scripts": { "scripts": {
"webext": "web-ext run -s src/", "dev": "web-ext run -s src/",
"lint": "npm-run-all lint:*", "lint": "npm-run-all lint:*",
"lint:addon": "./bin/addons-linter.sh", "lint:addon": "./bin/addons-linter.sh",
"lint:css": "stylelint src/css/*.css", "lint:css": "stylelint src/css/*.css",