Tweak package.json lint script to lint add-on (#67)
This commit is contained in:
parent
8bcfae7bed
commit
c3bfe263c3
1 changed files with 5 additions and 2 deletions
|
@ -11,7 +11,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"addons-linter": "^0.15.14",
|
"addons-linter": "^0.15.14",
|
||||||
"eslint": "^3.12.2",
|
"eslint": "^3.12.2",
|
||||||
"jpm": "^1.2.2"
|
"jpm": "^1.2.2",
|
||||||
|
"npm-run-all": "^4.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"firefox": ">=50.0"
|
"firefox": ">=50.0"
|
||||||
|
@ -28,6 +29,8 @@
|
||||||
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ."
|
"lint": "npm-run-all lint:*",
|
||||||
|
"lint:js": "eslint .",
|
||||||
|
"lint:addon": "addons-linter webextension --self-hosted"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue