Ghost/package.json
Gabor Javorszky be7ed2dfdc Added validation for signup and login screens
Closes #374
* Included node-validator as a package
* Implemented server side validation (the client side js is a mess, need a LOT of work)
* Validates email address both on signup and login screens, gives error message on malformed email addresses
* Requires at least 8 chars of password
* Tells user if password is too short
* Tells user if no such user on login
* Tells user if wrong password on login
* Tells user if server responds with a 404 (goes away, dies, etc)
* Added middleware between req and login / signup for validation
2013-08-20 09:42:42 +01:00

53 lines
1.4 KiB
JSON

{
"name": "ghost",
"version": "0.2.1",
"private": true,
"scripts": {
"start": "node index",
"test": "grunt validate --verbose"
},
"engines": {
"node": ">=0.10.* <0.11.4"
},
"engineStrict": true,
"dependencies": {
"express": "3.3.4",
"express-hbs": "0.2.0",
"connect-flash": "0.1.1",
"node-polyglot": "0.2.1",
"moment": "2.1.0",
"underscore": "1.5.1",
"showdown": "0.3.1",
"sqlite3": "2.1.14",
"bookshelf": "0.2.4",
"knex": "0.1.8",
"when": "2.2.1",
"bcrypt-nodejs": "0.0.3",
"node-uuid": "1.4.0",
"colors": "0.6.1",
"semver": "2.1.0",
"fs-extra": "0.6.3",
"downsize": "0.0.2",
"validator": "1.4.0"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-jslint": "~1.0.0",
"grunt-shell": "~0.3.1",
"grunt-contrib-sass": "~0.4.1",
"grunt-contrib-handlebars": "~0.5.10",
"grunt-contrib-watch": "~0.5.1",
"grunt-bump": "~0.0.11",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-compress": "~0.5.2",
"grunt-groc": "~0.3.0",
"grunt-mocha-cli": "~1.0.6",
"grunt-express-server": "~0.4.2",
"grunt-open": "~0.2.2",
"matchdep": "~0.1.2",
"sinon": "~1.7.3",
"should": "~1.2.2",
"mocha": "~1.12.0"
}
}