Skip to content

Commit ada6600

Browse files
committed
Added basic structure
1 parent 221f36b commit ada6600

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

lib/configuration_updater/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
var pkg = require('../../package.json');
4+
var winston = require('winston');
5+
6+
winston.log('info','Configuration Updater started @ %s',new Date().toString());
7+
8+

lib/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
'use strict';
3+
4+
var winston = require('winston');
5+
var pkg = require('../package.json');
6+
var child_process = require('child_process');
7+
var monitor_runner = require('../lib/monitor_runner');
8+
var configuration_updater = require('../lib/configuration_updater');
9+
10+
winston.info('Codeine Peer - ' + pkg.version);
11+

lib/monitor_runner/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
var pkg = require('../../package.json');
4+
var winston = require('winston');
5+
6+
winston.log('info','Monitor Runner started @ %s',new Date().toString());
7+
8+

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,20 @@
1919
"grunt-contrib-jshint": "~0.10.0",
2020
"grunt-contrib-watch": "~0.6.1",
2121
"grunt-exec": "~0.4.2",
22-
"load-grunt-tasks": "~0.6.0"
22+
"load-grunt-tasks": "~0.6.0",
23+
"mocha": "^2.0.1"
2324
},
2425
"scripts": {
2526
"test": "grunt test"
2627
},
2728
"bin": {
2829
"codeine": "bin/codeine"
30+
},
31+
"dependencies": {
32+
"async": "^0.9.0",
33+
"minimist": "^1.1.0",
34+
"request": "^2.48.0",
35+
"underscore": "^1.7.0",
36+
"winston": "^0.8.3"
2937
}
3038
}

0 commit comments

Comments
 (0)