Showing
2 changed files
with
20 additions
and
17 deletions
| 1 | { | 1 | { |
| 2 | - "name": "ur-village", | 2 | + "name": "ur-village", |
| 3 | - "version": "0.0.0", | 3 | + "version": "0.0.0", |
| 4 | - "private": true, | 4 | + "private": true, |
| 5 | - "scripts": { | 5 | + "scripts": { |
| 6 | - "start": "node ./bin/www" | 6 | + "start": "nodemon ./bin/www" |
| 7 | - }, | 7 | + }, |
| 8 | - "dependencies": { | 8 | + "dependencies": { |
| 9 | - "cookie-parser": "~1.4.4", | 9 | + "cookie-parser": "~1.4.4", |
| 10 | - "debug": "~2.6.9", | 10 | + "debug": "~2.6.9", |
| 11 | - "express": "~4.16.1", | 11 | + "express": "~4.16.1", |
| 12 | - "http-errors": "~1.6.3", | 12 | + "http-errors": "~1.6.3", |
| 13 | - "morgan": "~1.9.1", | 13 | + "morgan": "~1.9.1", |
| 14 | - "pug": "2.0.0-beta11" | 14 | + "nodemon": "^2.0.6", |
| 15 | - } | 15 | + "pug": "2.0.0-beta11", |
| 16 | + "request": "^2.88.2", | ||
| 17 | + "xhr": "^2.5.0", | ||
| 18 | + "xmlhttprequest": "^1.8.0" | ||
| 19 | + } | ||
| 16 | } | 20 | } | ... | ... |
| ... | @@ -3,7 +3,6 @@ var router = express.Router(); | ... | @@ -3,7 +3,6 @@ var router = express.Router(); |
| 3 | 3 | ||
| 4 | /* GET home page. */ | 4 | /* GET home page. */ |
| 5 | router.get('/', function(req, res, next) { | 5 | router.get('/', function(req, res, next) { |
| 6 | - res.render('index', { title: 'Express' }); | 6 | + res.render('index', { title: 'Express' }); |
| 7 | }); | 7 | }); |
| 8 | - | 8 | +module.exports = router; |
| 9 | -module.exports = router; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment