mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-03-21 17:24:28 -05:00
Server now sends confirmation emails to the provided email address. The values can not yet be validated, but they are stored so validation can be added at any time. Added Winston for event logging. Winston has a log level system that merges certain log types into the same file. Maybe we should use a custom logger solution? Registration now works (was not working for me), with added reCaptcha protection, password validation, and the storing of usernames/email validation values. Also changed the PID to a number, cuz it's a number
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"name": "pretendo_website",
|
|
"version": "1.0.0",
|
|
"description": "The official website for the Pretendo Network.",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"lint": "./node_modules/.bin/eslint .",
|
|
"lint-fix": "./node_modules/.bin/eslint . --fix"
|
|
},
|
|
"author": "The Pretendo Network (@PretendoNetwork)",
|
|
"authors": [
|
|
"@mrjvs",
|
|
"@jip"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bcrypt": "^3.0.1",
|
|
"colors": "^1.1.2",
|
|
"connect-mongo": "^2.0.1",
|
|
"express": "^4.16.2",
|
|
"express-handlebars": "^3.0.0",
|
|
"express-recaptcha": "^4.0.3",
|
|
"express-session": "^1.15.6",
|
|
"fs-extra": "^7.0.1",
|
|
"moment": "^2.22.2",
|
|
"mongoose": "^5.3.2",
|
|
"mongoose-unique-validator": "^2.0.2",
|
|
"morgan": "^1.9.1",
|
|
"nodemailer": "^4.7.0",
|
|
"passport": "^0.4.0",
|
|
"passport-local": "^1.0.0",
|
|
"python-struct": "^1.0.6",
|
|
"rand-token": "^0.4.0",
|
|
"showdown": "^1.8.6",
|
|
"winston": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^5.6.1",
|
|
"nodemon": "^1.18.6"
|
|
}
|
|
}
|