forked from KarimAziev/chrome-emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Firefox support and update build scripts
- Loading branch information
1 parent
20006fd
commit 7868317
Showing
20 changed files
with
3,040 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
app/scripts | ||
node_modules/ | ||
app/atomic-chrome.zip | ||
app/chrome-emacs.zip | ||
app/options.html | ||
/coverage/ | ||
# Chrome build artifacts | ||
chrome/scripts/ | ||
chrome/images/ | ||
chrome/options.html | ||
chrome/*.zip | ||
|
||
# Firefox build artifacts | ||
firefox/scripts/ | ||
firefox/images/ | ||
firefox/options.html | ||
firefox/*.zip | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
|
||
# Build | ||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Tests | ||
/coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<div align="center"> | ||
|
||
 | ||
 | ||
|
||
</div> | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"appName": { | ||
"message": "Chrome Emacs", | ||
"description": "The name of the application" | ||
}, | ||
"appShortName": { | ||
"message": "ChrEmacs", | ||
"description": "The short name of the application" | ||
}, | ||
"appDescription": { | ||
"message": "Use Emacs to edit textareas and online editors", | ||
"description": "The description of the application" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"name": "__MSG_appName__", | ||
"short_name": "__MSG_appShortName__", | ||
"version": "0.4.0", | ||
"manifest_version": 3, | ||
"minimum_chrome_version": "116", | ||
"description": "__MSG_appDescription__", | ||
"icons": { | ||
"16": "images/icon-16.png", | ||
"128": "images/icon-128.png", | ||
"19": "images/icon-19.png" | ||
}, | ||
"default_locale": "en", | ||
"background": { | ||
"scripts": ["scripts/service-worker.js"] | ||
}, | ||
"action": { | ||
"default_icon": { | ||
"19": "images/icon-19-inactive.png", | ||
"38": "images/icon-38-inactive.png" | ||
}, | ||
"default_title": "Chrome Emacs" | ||
}, | ||
"commands": { | ||
"_execute_action": { | ||
"suggested_key": { | ||
"default": "Ctrl+Period", | ||
"mac": "Command+Period", | ||
"linux": "Ctrl+Period" | ||
}, | ||
"description": "Edit currently focused element" | ||
}, | ||
"query-edit": { | ||
"suggested_key": { | ||
"default": "Ctrl+Shift+Period", | ||
"mac": "Command+Shift+Period", | ||
"linux": "Ctrl+Shift+Period" | ||
}, | ||
"description": "Select and edit element" | ||
} | ||
}, | ||
"permissions": ["activeTab", "scripting", "storage", "tabs"], | ||
"host_permissions": ["http://*/*", "https://*/*"], | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": ["scripts/injected.js"], | ||
"matches": ["http://*/*", "https://*/*"] | ||
} | ||
], | ||
"options_ui": { | ||
"page": "options.html", | ||
"open_in_tab": false | ||
}, | ||
"content_security_policy": { | ||
"extension_pages": "default-src 'self'; connect-src http://localhost:64292 ws://localhost:64292;" | ||
} | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.