]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Include grunt task for linking stylesheets to templates
authorEric Morris <eric@zurb.com>
Mon, 28 Oct 2013 22:03:49 +0000 (15:03 -0700)
committerEric Morris <eric@zurb.com>
Mon, 28 Oct 2013 22:03:49 +0000 (15:03 -0700)
Gruntfile.js [new file with mode: 0644]
package.json [new file with mode: 0644]

diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644 (file)
index 0000000..310fae6
--- /dev/null
@@ -0,0 +1,21 @@
+module.exports = function(grunt) {
+  grunt.initConfig({
+    pkg: grunt.file.readJSON('package.json'),
+    includes: {
+      files: {
+        src: ['templates/base/*.html', 'templates/examples/*.html'],
+        dest: 'tmp',
+        flatten: true,
+        cwd: '.',
+        options: {
+          includeRegexp: /^\s*\/\*\s*[Ii]nclude\s+([^'"\s]+)\s*\*\/$/,
+          includePath: 'css',
+        }
+      }
+    }
+  });
+
+  grunt.loadNpmTasks('grunt-includes');
+
+  grunt.registerTask('default', ['includes']);
+};
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644 (file)
index 0000000..fa1c66a
--- /dev/null
@@ -0,0 +1,31 @@
+{
+  "name": "Ink",
+  "version": "0.8.0",
+  "description": "Ink is a responsive email framework for making emails that look great on any device.",
+  "directories": {
+    "doc": "docs"
+  },
+  "dependencies": {
+    "grunt": "~0.4.1",
+    "grunt-cli": "~0.1.9"
+  },
+  "devDependencies": {
+    "grunt-includes": "~0.3.5"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git://github.com/zurb/ink.git"
+  },
+  "keywords": [
+    "ink",
+    "responsive",
+    "email",
+    "css",
+    "framework"
+  ],
+  "author": "ZURB",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/zurb/ink/issues"
+  }
+}