Skip to content

Commit b3bb2e6

Browse files
committed
Fix deprecation warnings on npm install
1 parent 1a19c2d commit b3bb2e6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

client/live.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var newConnection = function(handlers) {
2828
};
2929

3030
$(function() {
31-
var body = $("body").html(require("./page.jade")());
31+
var body = $("body").html(require("./page.pug")());
3232
var status = $("#status");
3333
var okness = $("#okness");
3434
var $errors = $("#errors");
File renamed without changes.

client/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
module: {
33
loaders: [
44
{ test: /\.css$/, loader: "style!css" },
5-
{ test: /\.jade$/, loader: "jade?self" }
5+
{ test: /\.pug$/, loader: "pug?self" }
66
]
77
},
88
node: {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"eslint": "^2.10.1",
2828
"eslint-plugin-nodeca": "^1.0.3",
2929
"file-loader": "~0.8.4",
30-
"jade": "^1.11.0",
31-
"jade-loader": "~0.8.0",
30+
"pug": "2.0.0-beta5",
31+
"pug-loader": "~2.3.0",
3232
"jquery": "^2.2.0",
33-
"jsbeautify": "^0.3.6",
33+
"js-beautify": "^1.6.3",
3434
"less": "^2.5.1",
3535
"less-loader": "~2.2.0",
3636
"style-loader": "~0.13.0",

0 commit comments

Comments
 (0)