Remove unused dependencies

This commit is contained in:
Yarmo Mackenbach 2020-08-18 09:47:17 +02:00
parent faac7594f8
commit a90ca40505

View file

@ -28,7 +28,6 @@ if any, to sign a "copyright disclaimer" for the program, if necessary. For
more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
*/
const express = require('express');
const md = require('markdown-it')({typographer: true});
const fs = require('fs');
const app = express();
const env = {};
@ -37,10 +36,6 @@ require('dotenv').config();
let packageData = JSON.parse(fs.readFileSync('package.json'));
md.use(require("markdown-it-anchor"));
md.use(require("markdown-it-table-of-contents"), { "includeLevel": [2, 3], "listType": "ol" });
md.use(require('markdown-it-title'));
app.set('env', process.env.NODE_ENV || "production");
app.set('view engine', 'pug');
app.set('port', process.env.PORT || 3000);