add npm run build-shield command

This commit is contained in:
Jonathan Kingston
2017-05-11 16:52:37 +01:00
committed by groovecoder
parent 5916bd2871
commit 08ba094748
2 changed files with 8 additions and 2 deletions
+2
View File
@@ -16,6 +16,7 @@
"eslint-plugin-promise": "^3.4.0",
"htmllint-cli": "^0.0.5",
"jpm": "^1.2.2",
"json": "^9.0.6",
"npm-run-all": "^4.0.0",
"shield-studies-addon-utils": "^2.0.0",
"stylelint": "^7.9.0",
@@ -42,6 +43,7 @@
},
"scripts": {
"build": "npm test && jpm xpi",
"build-shield": "npm test && json -I -f package.json -e 'this.name=\"shield-study-containers\"' && jpm xpi && json -I -f package.json -e 'this.name=\"testpilot-containers\"'",
"deploy": "deploy-txp",
"lint": "npm-run-all lint:*",
"lint:addon": "addons-linter webextension --self-hosted",