fix #162: bin/build-addon.sh automates txp deploys
This commit is contained in:
parent
707183a1f8
commit
16b32c257d
4 changed files with 9 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,3 +4,5 @@ README.html
|
||||||
*.xpi
|
*.xpi
|
||||||
*.swp
|
*.swp
|
||||||
.vimrc
|
.vimrc
|
||||||
|
.env
|
||||||
|
addon.env
|
||||||
|
|
1
bin/build-addon.sh
Executable file
1
bin/build-addon.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
npm install && npm run deploy
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "testpilot-containers",
|
"name": "testpilot-containers",
|
||||||
"title": "Containers Experiment",
|
"title": "Containers Experiment",
|
||||||
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored ‘Container Tabs’. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
|
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored ‘Container Tabs’. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
|
||||||
"version": "0.9.3",
|
"version": "0.9.4",
|
||||||
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
|
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/mozilla/testpilot-containers/issues"
|
"url": "https://github.com/mozilla/testpilot-containers/issues"
|
||||||
|
@ -10,6 +10,7 @@
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"addons-linter": "^0.15.14",
|
"addons-linter": "^0.15.14",
|
||||||
|
"deploy-txp": "^1.0.7",
|
||||||
"eslint": "^3.12.2",
|
"eslint": "^3.12.2",
|
||||||
"eslint-plugin-promise": "^3.4.0",
|
"eslint-plugin-promise": "^3.4.0",
|
||||||
"htmllint-cli": "^0.0.5",
|
"htmllint-cli": "^0.0.5",
|
||||||
|
@ -38,12 +39,14 @@
|
||||||
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
"url": "git+https://github.com/mozilla/testpilot-containers.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "jpm xpi",
|
"build": "npm test && jpm xpi",
|
||||||
|
"deploy": "deploy-txp",
|
||||||
"lint": "npm-run-all lint:*",
|
"lint": "npm-run-all lint:*",
|
||||||
"lint:addon": "addons-linter webextension --self-hosted",
|
"lint:addon": "addons-linter webextension --self-hosted",
|
||||||
"lint:css": "stylelint webextension/css/*.css",
|
"lint:css": "stylelint webextension/css/*.css",
|
||||||
"lint:html": "htmllint webextension/*.html",
|
"lint:html": "htmllint webextension/*.html",
|
||||||
"lint:js": "eslint .",
|
"lint:js": "eslint .",
|
||||||
|
"package": "npm run build && mv testpilot-containers.xpi addon.xpi",
|
||||||
"test": "npm run lint"
|
"test": "npm run lint"
|
||||||
},
|
},
|
||||||
"updateURL": "https://testpilot.firefox.com/files/@testpilot-containers/updates.json"
|
"updateURL": "https://testpilot.firefox.com/files/@testpilot-containers/updates.json"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Containers Experiment",
|
"name": "Containers Experiment",
|
||||||
"version": "0.9.3",
|
"version": "0.9.4",
|
||||||
|
|
||||||
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored ‘Container Tabs’. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
|
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored ‘Container Tabs’. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue