Skip to content

Commit ff7d718

Browse files
kheftelsaintedlama
authored andcommittedJul 14, 2019
chore: switch example from jade to pug
* chore: switch example from jade to pug * chore: npm audit fix
1 parent 8215074 commit ff7d718

File tree

8 files changed

+1220
-4
lines changed

8 files changed

+1220
-4
lines changed
 

‎examples/login/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const app = express();
1414

1515
// view engine setup
1616
app.set('views', path.join(__dirname, 'views'));
17-
app.set('view engine', 'jade');
17+
app.set('view engine', 'pug');
1818

1919
// uncomment after placing your favicon in /public
2020
//app.use(favicon(__dirname + '/public/favicon.ico'));

‎examples/login/package-lock.json

+1,216
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/login/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
},
88
"dependencies": {
99
"body-parser": "^1.19.0",
10-
"cookie-parser": "~1.3.3",
10+
"cookie-parser": "^1.4.4",
1111
"cookie-session": "^1.1.0",
12-
"debug": "~2.0.0",
12+
"debug": "^4.1.1",
1313
"express": "^4.17.1",
14-
"jade": "~1.6.0",
1514
"mongoose": "^5.6.4",
1615
"morgan": "^1.9.1",
1716
"passport": "^0.4.0",
1817
"passport-local": "1.0.x",
1918
"passport-local-mongoose": "^5.0.1",
19+
"pug": "^2.0.4",
2020
"serve-favicon": "^2.5.0"
2121
}
2222
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.