adding test Gruntfile

master
Matt Huntington 10 years ago
parent a2745ab7c8
commit 5fc8733a5b

@ -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);
});
};

@ -0,0 +1,3 @@
var cml_html_converter = require('cml-html-converter');
var result = cml_html_converter('line1\n\tline2');
console.log(result);

@ -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"
}
}

Loading…
Cancel
Save