diff --git a/Gruntfile.js b/Gruntfile.js index 8e3b23318..fbd73f33a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -35,6 +35,13 @@ module.exports = function (grunt) { }, tasks: ['browserify:dev'], }, + html: { + files: ['<%= config.app %>/{,*/}*.html'], + options: { + livereload: '<%= connect.options.livereload %>' + }, + tasks: ['copy'], + }, gruntfile: { files: ['Gruntfile.js'] }, @@ -98,6 +105,7 @@ module.exports = function (grunt) { '<%= config.dist %>/scripts/background.js': ['<%= config.app %>/scripts/background.js'], '<%= config.dist %>/scripts/contentscript.js': ['<%= config.app %>/scripts/contentscript.js'], '<%= config.dist %>/scripts/inpage.js': ['<%= config.app %>/scripts/inpage.js'], + '<%= config.dist %>/scripts/popup.js': ['<%= config.app %>/scripts/popup.js'], }, }, dev: { @@ -108,6 +116,7 @@ module.exports = function (grunt) { '<%= config.dist %>/scripts/background.js': ['<%= config.app %>/scripts/background.js'], '<%= config.dist %>/scripts/contentscript.js': ['<%= config.app %>/scripts/contentscript.js'], '<%= config.dist %>/scripts/inpage.js': ['<%= config.app %>/scripts/inpage.js'], + '<%= config.dist %>/scripts/popup.js': ['<%= config.app %>/scripts/popup.js'], }, }, }, diff --git a/app/manifest.json b/app/manifest.json index d760eea0f..5d1df7b54 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -19,7 +19,8 @@ "19": "images/icon-19.png", "38": "images/icon-38.png" }, - "default_title": "metamask" + "default_title": "MetaMask", + "default_popup": "popup.html" }, "content_scripts": [ { diff --git a/app/popup.html b/app/popup.html new file mode 100644 index 000000000..b72d499d1 --- /dev/null +++ b/app/popup.html @@ -0,0 +1,24 @@ + + +
+ +