Browse Source

Freshen up of package.json

dev/git-series/gccdum
Matt Godbolt 8 years ago
parent
commit
4a881105ff
  1. 15
      app.js
  2. 26
      package.json

15
app.js

@ -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)

26
package.json

@ -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"

Loading…
Cancel
Save