Update webpack config

- write bundle to `/build`
- add support for SASS
- improve options view as a proof o concept for styling
This commit is contained in:
Manuel Bouza
2019-02-05 10:44:11 +01:00
parent 7c2b4fae5b
commit 388310eebb
22 changed files with 2550 additions and 86606 deletions

42
src/manifest.json Normal file
View File

@@ -0,0 +1,42 @@
{
"name": "MOCO Zeiterfassung",
"short_name": "MOCO",
"description": "MOCO Zeiterfassung Plugin",
"version": "0.9.20",
"manifest_version": 2,
"description": "MOCO Time Tracking Plugin",
"icons": {
"16": "src/images/logo.png",
"48": "src/images/logo.png",
"128": "src/images/logo.png"
},
"options_ui": {
"page": "options.html",
"chrome_style": true
},
"permissions": [
"https://*.mocoapp.com/*",
"background",
"storage",
"tabs",
"https://*/"
],
"optional_permissions": ["*://*/"],
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"default_icon": "src/images/logo.png",
"default_title": "MOCO Time Tracking",
"default_popup": "popup.html"
},
"web_accessible_resources": ["src/images/*"],
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+M",
"mac": "Command+M"
}
}
}
}