feat: Add helmet and force SSL

This commit is contained in:
Khaled Garbaya
2017-11-06 11:54:19 +01:00
committed by Benedikt Rötsch
parent 9ae9c543ba
commit 9c2840ac89
2 changed files with 14 additions and 1 deletions

View File

@@ -4,7 +4,8 @@
"private": true,
"scripts": {
"start:watch": "nodemon ./bin/www --ignore public/",
"start": "node ./bin/www",
"start:dev": "node ./bin/www",
"start:production": "NODE_ENV=production node ./bin/www",
"lint": "eslint ./app.js routes",
"format": "eslint --fix . bin --ignore public node_modules",
"test": "echo 'test'",
@@ -22,6 +23,7 @@
"cookie-parser": "~1.4.3",
"dotenv": "^4.0.0",
"express": "~4.14.0",
"helmet": "^3.9.0",
"marked": "^0.3.6",
"morgan": "~1.7.0",
"pug": "~2.0.0-beta6"