Tweak package.json lint script to lint add-on (#67)

This commit is contained in:
Peter deHaan 2017-01-10 12:20:48 -08:00 committed by Jonathan Kingston
parent 8bcfae7bed
commit c3bfe263c3

View file

@ -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"
} }
} }