From f39eb6e174d5fabcdbbd0e45987ef80dcde4acff Mon Sep 17 00:00:00 2001 From: ikipatang <5412352+ikipatang@users.noreply.github.com> Date: Wed, 22 Nov 2017 13:48:01 +0100 Subject: [PATCH] Move storage.js, background.js and options in src directory --- manifest.json | 4 ++-- package.json | 2 +- background.js => src/background.js | 0 {options => src/options}/options.css | 0 {options => src/options}/options.html | 0 {options => src/options}/options.js | 0 storage.js => src/storage.js | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename background.js => src/background.js (100%) rename {options => src/options}/options.css (100%) rename {options => src/options}/options.html (100%) rename {options => src/options}/options.js (100%) rename storage.js => src/storage.js (100%) diff --git a/manifest.json b/manifest.json index ab9e00d..751d323 100644 --- a/manifest.json +++ b/manifest.json @@ -12,10 +12,10 @@ "storage" ], "options_ui": { - "page": "options/options.html" + "page": "src/options/options.html" }, "background": { - "scripts": ["storage.js", "background.js"] + "scripts": ["src/storage.js", "src/background.js"] }, "browser_action": { "default_icon": "resources/icons/icon-24.png", diff --git a/package.json b/package.json index b8d1616..5b437f6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "shaarli-web-extension", "version": "0.0.1", "description": "Share your link to your Shaarli on Firefox Quantum", - "main": "background.js", + "main": "src/background.js", "keywords": [ "web", "extension", diff --git a/background.js b/src/background.js similarity index 100% rename from background.js rename to src/background.js diff --git a/options/options.css b/src/options/options.css similarity index 100% rename from options/options.css rename to src/options/options.css diff --git a/options/options.html b/src/options/options.html similarity index 100% rename from options/options.html rename to src/options/options.html diff --git a/options/options.js b/src/options/options.js similarity index 100% rename from options/options.js rename to src/options/options.js diff --git a/storage.js b/src/storage.js similarity index 100% rename from storage.js rename to src/storage.js