Showing
2 changed files
with
6 additions
and
3 deletions
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
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", |
... | @@ -11,6 +11,10 @@ | ... | @@ -11,6 +11,10 @@ |
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 | + "pug": "2.0.0-beta11", | ||
16 | + "request": "^2.88.2", | ||
17 | + "xhr": "^2.5.0", | ||
18 | + "xmlhttprequest": "^1.8.0" | ||
15 | } | 19 | } |
16 | } | 20 | } | ... | ... |
... | @@ -5,5 +5,4 @@ var router = express.Router(); | ... | @@ -5,5 +5,4 @@ var router = express.Router(); |
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 | - | ||
9 | module.exports = router; | 8 | module.exports = router; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment