@ -0,0 +1 @@
node_modules
@ -0,0 +1,12 @@
{
"name": "web-server",
"version": "0.1.0",
"description": "Local web server",
"main": "index.js",
"repository": "",
"author": "",
"license": "BSD",
"dependencies": {
"connect": "~2.7.11"
}
@ -0,0 +1,7 @@
var connect = require('connect');
var app = connect()
.use(connect.logger('dev'))
.use(connect.static(process.cwd()))
.use(connect.directory(process.cwd()))
.listen(8000);