removing old dev dependencies

master
Matt Huntington 10 years ago
parent fde5194958
commit 6ee9d65931

@ -1,34 +0,0 @@
var converter = require('./index.js');
var fs = require('fs');
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
options: {
livereload: {
port: 35729
}
},
all: {
files: ['**/*.txt'],
tasks: ['convert-tabs-to-html']
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
grunt.registerTask('convert-tabs-to-html', function(){
var done = this.async();
fs.readFile('test.txt', 'utf8', function(err, data){
var html = '<html><head></head><body>\n';
html += converter(data);
html += '</body></html>';
fs.writeFile('result.html', html, function(){
done();
});
});
});
};

@ -15,8 +15,5 @@
],
"author": "Matt Huntington",
"license": "MIT",
"dependencies": {
"grunt": "^0.4.5",
"grunt-contrib-watch": "^0.6.1"
}
"dependencies": {}
}

@ -1,10 +0,0 @@
first line
second line
third line indented once
indented twice
twice again
thrice
frice
back once
last line back indented twice
final
Loading…
Cancel
Save