From 8888bfa27dbe671a00c284e8a8838d25a17b74f6 Mon Sep 17 00:00:00 2001 From: Andrew Shini Date: Mon, 18 Jan 2016 11:08:11 +1100 Subject: [PATCH] Initial commit --- README.md | 13 +++++++++++++ package.js | 24 ++++++++++++++++++++++++ viewport.html | 3 +++ 3 files changed, 40 insertions(+) create mode 100644 README.md create mode 100644 package.js create mode 100644 viewport.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..4dbe1d0 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +Adds basic [viewport meta tag](https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag) to your meteor project. + + + +Why? So your website looks nice on mobiles too. + +## To install + +```bash + $ meteor add superandrew:viewport +``` + +That's all. diff --git a/package.js b/package.js new file mode 100644 index 0000000..61d8433 --- /dev/null +++ b/package.js @@ -0,0 +1,24 @@ +Package.describe({ + name: 'superandrew:viewport', + version: '0.0.1', + // Brief, one-line summary of the package. + summary: 'Adds viewport meta tag.', + // URL to the Git repository containing the source code for this package. + git: 'https://github.com/superandrew213/viewport.git', + // By default, Meteor will default to using README.md for documentation. + // To avoid submitting documentation, set this field to null. + documentation: 'README.md' +}); + +Package.onUse(function(api) { + api.versionsFrom('1.2.1'); + api.use('ecmascript'); + api.use(['templating'], 'client'); + api.addFiles(['viewport.html'], 'client'); +}); + +Package.onTest(function(api) { + api.use('ecmascript'); + api.use('tinytest'); + api.use('superandrew:viewport'); +}); diff --git a/viewport.html b/viewport.html new file mode 100644 index 0000000..4d796f2 --- /dev/null +++ b/viewport.html @@ -0,0 +1,3 @@ + + +