Comparing version 0.0.1 to 0.0.2
13
index.js
var express = require('express'), | ||
stylus = require('stylus'), | ||
path = require('path'), | ||
linter = require('./linter'), | ||
analysis = require('./lib/analysis'), | ||
jshint = require('./lib/jshint'), | ||
app = express(); | ||
module.exports = function(options) { | ||
module.exports.analyzer = analysis; | ||
module.exports.jshint = jshint; | ||
module.exports.viewer = function(options) { | ||
options = options || {}; | ||
@@ -41,6 +46,6 @@ | ||
linter.hint(options); | ||
analysis.hint(options); | ||
app.get('/*', function(req, res) { | ||
return res.render(path.join(__dirname, 'viewer'), {summary: linter.summary, results:linter.errors}); | ||
return res.render(path.join(__dirname, 'viewer'), {summary: analysis.summary, results:analysis.errors}); | ||
}); | ||
@@ -47,0 +52,0 @@ |
{ | ||
"name": "verifyjs", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"directories": {}, | ||
@@ -12,3 +12,3 @@ "engines": { | ||
"express": "3.0.0rc2", | ||
"stylus": "0.24.0", | ||
"stylus": "0.30.1", | ||
"async": "0.1.18", | ||
@@ -18,2 +18,7 @@ "underscore": "1.3.3", | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "latest", | ||
"mocha": "latest", | ||
"should": "latest" | ||
}, | ||
"_npmUser": { | ||
@@ -24,3 +29,2 @@ "name": "snodgrass23", | ||
"_id": "verifyjs@0.0.1", | ||
"devDependencies": {}, | ||
"optionalDependencies": {}, | ||
@@ -27,0 +31,0 @@ "_engineSupported": true, |
170703
17
488
3
3
+ Addedcssom@0.2.5(transitive)
+ Addedstylus@0.30.1(transitive)
- Removedcssom@0.2.2(transitive)
- Removedgrowl@1.4.1(transitive)
- Removedstylus@0.24.0(transitive)
Updatedstylus@0.30.1