ambassador
This commit is contained in:
parent
8ff200755f
commit
2362f68fcb
2 changed files with 28 additions and 1 deletions
27
e2e/ambassador/manifest.json
Normal file
27
e2e/ambassador/manifest.json
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "ambassador",
|
||||||
|
"description": "WebExtension test helper",
|
||||||
|
"version": "0.1",
|
||||||
|
"content_scripts": [
|
||||||
|
{
|
||||||
|
"all_frames": true,
|
||||||
|
"matches": [ "<all_urls>" ],
|
||||||
|
"js": [ "build/content.js" ],
|
||||||
|
"run_at": "document_end",
|
||||||
|
"match_about_blank": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"background": {
|
||||||
|
"scripts": [
|
||||||
|
"build/background.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"permissions": [
|
||||||
|
"history",
|
||||||
|
"sessions",
|
||||||
|
"storage",
|
||||||
|
"tabs",
|
||||||
|
"clipboardRead"
|
||||||
|
]
|
||||||
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
"package": "npm run build && script/package.sh",
|
"package": "npm run build && script/package.sh",
|
||||||
"lint": "eslint --ext .jsx,.js src",
|
"lint": "eslint --ext .jsx,.js src",
|
||||||
"test": "karma start",
|
"test": "karma start",
|
||||||
"ambassador:start": "webpack -w --debug --context --devtool inline-source-map",
|
"ambassador:start": "webpack -w --debug --context e2e/ambassador --devtool inline-source-map",
|
||||||
"ambassador:build": "webpack --context e2e/ambassador"
|
"ambassador:build": "webpack --context e2e/ambassador"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Reference in a new issue