diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..eab0b4f --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,13 @@ +module.exports = function(grunt) { + grunt.initConfig({ + log: { + foo: [1, 2, 3], + bar: 'hello world', + baz: false + } + }); + + grunt.registerMultiTask('log', 'Log stuff.', function() { + grunt.log.writeln(this.target + ': ' + this.data); + }); +}; diff --git a/index.js b/index.js new file mode 100644 index 0000000..a580700 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +var cml_html_converter = require('cml-html-converter'); +var result = cml_html_converter('line1\n\tline2'); +console.log(result); diff --git a/package.json b/package.json index 54fd064..9ea8c9c 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,8 @@ "homepage": "https://github.com/mahuntington/grunt-contrib-cml-html-converter#readme", "dependencies": { "cml-html-converter": "^1.0.1" + }, + "devDependencies": { + "grunt": "^0.4.5" } }