diff --git a/package.json b/package.json index f9bf4df..beda726 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,14 @@ "@babel/preset-env": "^7.9.5", "@types/config": "^0.0.36", "@types/express": "^4.17.6", + "@types/express-session": "^1.17.0", "@types/formidable": "^1.0.31", - "@types/jest": "^25.2.1", + "@types/jest": "^26.0.4", + "@types/mysql": "^2.15.15", "@types/node": "^13.13.2", + "@types/nodemailer": "^6.4.0", + "@types/nunjucks": "^3.1.3", + "@types/ws": "^7.2.6", "babel-loader": "^8.1.0", "concurrently": "^5.1.0", "css-loader": "^3.5.2", @@ -28,16 +33,16 @@ "file-loader": "^6.0.0", "imagemin": "^7.0.1", "imagemin-gifsicle": "^7.0.0", - "imagemin-mozjpeg": "^8.0.0", - "imagemin-pngquant": "^8.0.0", - "imagemin-svgo": "^7.1.0", + "imagemin-mozjpeg": "^9.0.0", + "imagemin-pngquant": "^9.0.0", + "imagemin-svgo": "^8.0.0", "img-loader": "^3.0.1", - "jest": "^25.4.0", + "jest": "^26.1.0", "mini-css-extract-plugin": "^0.9.0", "node-sass": "^4.14.0", "nodemon": "^2.0.3", - "sass-loader": "^8.0.2", - "ts-jest": "^25.4.0", + "sass-loader": "^9.0.2", + "ts-jest": "^26.1.1", "typescript": "^3.8.3", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^4.43.0", diff --git a/views/errors/400.njk b/views/errors/400.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/400.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/401.njk b/views/errors/401.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/401.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/403.njk b/views/errors/403.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/403.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/404.njk b/views/errors/404.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/404.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/429.njk b/views/errors/429.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/429.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/500.njk b/views/errors/500.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/500.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/503.njk b/views/errors/503.njk deleted file mode 100644 index a5bc022..0000000 --- a/views/errors/503.njk +++ /dev/null @@ -1,2 +0,0 @@ -{% extends './error.njk' %} -{% import 'macros.njk' as macros %} diff --git a/views/errors/error.njk b/views/errors/error.njk deleted file mode 100644 index 3d05ea9..0000000 --- a/views/errors/error.njk +++ /dev/null @@ -1,36 +0,0 @@ -{% extends '../layouts/barebone.njk' %} - -{% set title = error_code + ' - ' + error_message %} - -{% block _stylesheets %} - -{% endblock %} - -{% block _body %} -
- -