Use local web-ext for the dev environment
This commit is contained in:
parent
b66e0fa6a3
commit
ee3ead965f
2 changed files with 2 additions and 8 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue