From fa4394fe8db6855409cda7b6b21c7980058ffeac Mon Sep 17 00:00:00 2001 From: Boyan Rabchev Date: Wed, 1 Apr 2015 17:30:25 +0300 Subject: [PATCH] Added Gruntfile --- Gruntfile.js | 12 ++++++++++++ package.json | 14 +++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 Gruntfile.js diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..2505427 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,12 @@ +module.exports = function (grunt) { + + require('load-grunt-tasks')(grunt); + + var config = { + + }; + + grunt.initConfig(config); + + grunt.registerTask('update-hterm', ['shell:greet:hello']); +}; diff --git a/package.json b/package.json index 77d1eda..ba30dbd 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,18 @@ "version": "0.0.9", "dependencies": { "express": "3.5.1", - "websocket": "", + "websocket": "^1.0", "pty.js": "git+https://github.com/terryschen/pty.js", - "optimist": "", - "waitpid": "" + "optimist": "^0.6", + "waitpid": "^0.1" + }, + "devDependencies": { + "load-grunt-tasks": "^3.0", + "grunt": "^0.4", + "grunt-shell": "^1.1", + "grunt-mkdir": "^0.1", + "grunt-git": "^0.3", + "grunt-contrib-clean": "^0.6" }, "description": "Wetty = Web + tty. Terminal access in browser over http/https ", "main": "app.js",