Freshen up of package.json

This commit is contained in:
Matt Godbolt 2015-01-16 07:17:31 -06:00
parent b929014e75
commit 4a881105ff
2 changed files with 29 additions and 12 deletions

15
app.js
View File

@ -381,12 +381,17 @@ function findCompilers() {
findCompilers();
// WebServer.
var webServer = connect();
var webServer = connect(),
sFavicon = require('serve-favicon'),
sStatic = require('serve-static'),
bodyParser = require('body-parser'),
logger = require('morgan');
webServer
.use(connect.logger())
.use(connect.favicon('static/favicon.ico'))
.use(connect.static('static'))
.use(connect.bodyParser())
.use(logger('combined'))
.use(sFavicon('static/favicon.ico'))
.use(sStatic('static'))
.use(bodyParser.urlencoded({extended:true}))
.use('/client-options.js', getClientOptions)
.use('/info', getInfo)
.use('/sources', getSources)

View File

@ -1,19 +1,31 @@
{
"author": "Matt Godbolt <matt@godbolt.org>",
"name": "gcc-explorer",
"description": "Investigate what on earth GCC does",
"version": "0.0.2",
"description": "Interactively investigate compiler output",
"author": {
"name": "Matt Godbolt",
"email": "matt@godbolt.org",
"url": "http://xania.org"
},
"repository": {
"type": "git",
"url": "mattgodbolt/gcc-explorer"
},
"version": "0.0.3",
"engines": {
"node": "0.10.x"
},
"main": "./app.js",
"dependencies": {
"async": "0.7.x",
"connect": "2.14.x",
"async": "0.9.x",
"body-parser": "1.10.x",
"connect": "3.3.x",
"fs-extra": "0.8.x",
"lru-cache": "2.5.x",
"nopt": "1.0.x",
"temp": "0.7.x"
"morgan": "1.5.x",
"nopt": "3.0.x",
"serve-favicon": "2.2.x",
"serve-static": "1.8.x",
"temp": "0.8.x"
},
"devDependencies": {
"supervisor": "0.3.1"