From 2362f68fcb1a9994fe6395673b71348660678c7d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 4 Feb 2018 17:48:18 +0900 Subject: [PATCH] ambassador --- e2e/ambassador/manifest.json | 27 +++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 e2e/ambassador/manifest.json 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": [ "" ], + "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": {