From 6ee9d65931be66be2c29ec04d15d9c1f23ab98e9 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sat, 23 Jan 2016 16:12:58 -0500 Subject: [PATCH] removing old dev dependencies --- Gruntfile.js | 34 ---------------------------------- package.json | 5 +---- test.txt | 10 ---------- 3 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 Gruntfile.js delete mode 100644 test.txt diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index f1e00ad..0000000 --- a/Gruntfile.js +++ /dev/null @@ -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 = '\n'; - html += converter(data); - html += ''; - fs.writeFile('result.html', html, function(){ - done(); - }); - }); - }); - -}; diff --git a/package.json b/package.json index 2b0cb26..7fee412 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,5 @@ ], "author": "Matt Huntington", "license": "MIT", - "dependencies": { - "grunt": "^0.4.5", - "grunt-contrib-watch": "^0.6.1" - } + "dependencies": {} } diff --git a/test.txt b/test.txt deleted file mode 100644 index f78f5a5..0000000 --- a/test.txt +++ /dev/null @@ -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