diff options
-rw-r--r-- | e2e/ambassador/manifest.json | 27 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/e2e/ambassador/manifest.json b/e2e/ambassador/manifest.json new file mode 100644 index 0000000..9f3e063 --- /dev/null +++ b/e2e/ambassador/manifest.json @@ -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" + ] +} diff --git a/package.json b/package.json index 0a48e3a..6e1ad2c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "package": "npm run build && script/package.sh", "lint": "eslint --ext .jsx,.js src", "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" }, "repository": { |