diff --git a/Makefile b/Makefile index bcd8850..360e8d0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: all node-deps clean run -TARGET=elm.js +TARGET=extension/elm.js SOURCE=src/App.elm ELM_FILES = $(shell find . -type f -name '*.elm') diff --git a/extension/icon.png b/extension/icon.png new file mode 100644 index 0000000..ac2b1f7 Binary files /dev/null and b/extension/icon.png differ diff --git a/extension/index.html b/extension/index.html new file mode 100644 index 0000000..457c35e --- /dev/null +++ b/extension/index.html @@ -0,0 +1,9 @@ + + + +

Pass

+
+ + + + diff --git a/extension/manifest.json b/extension/manifest.json new file mode 100644 index 0000000..94c3104 --- /dev/null +++ b/extension/manifest.json @@ -0,0 +1,14 @@ +{ + "manifest_version": 2, + "name": "Elm-Pass", + "description": "Password Management", + "version": "1.0", + "browser_action": { + "default_icon": "icon.png", + "default_popup": "index.html" + }, + "permissions": [ + "activeTab", + "storage" + ] +} diff --git a/extension/portal.js b/extension/portal.js new file mode 100644 index 0000000..248b77e --- /dev/null +++ b/extension/portal.js @@ -0,0 +1,2 @@ +const container = document.querySelector('#app'); +const app = Elm.App.embed(container);