50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "nodejs-boilerplate",
|
|
"version": "1.0.0",
|
|
"description": "NodeJS boilerplate for express apps",
|
|
"main": "app.js",
|
|
"dependencies": {
|
|
"body-parser": "^1.19.0",
|
|
"connect-flash": "^0.1.1",
|
|
"cookie-parser": "^1.4.5",
|
|
"env-cmd": "^10.1.0",
|
|
"express": "^4.17.1",
|
|
"express-session": "^1.17.0",
|
|
"method-override": "^3.0.0",
|
|
"morgan": "^1.10.0",
|
|
"multer": "^1.4.2",
|
|
"mysql": "^2.18.1",
|
|
"nodemailer": "^6.4.6",
|
|
"nodemon": "^2.0.2",
|
|
"pug": "^2.0.4",
|
|
"serve-favicon": "^2.5.0"
|
|
},
|
|
"devDependencies": {},
|
|
"scripts": {
|
|
"initPackage": "sh ./config/init.sh",
|
|
"createDB": "sh ./config/initDB.sh",
|
|
"startServer": "env-cmd -e development nodemon app.js",
|
|
"startDevDB": "sudo /etc/init.d/mysql start",
|
|
"stopDevDB": "sudo /etc/init.d/mysql stop",
|
|
"dev": "npm run startDevDB && npm run startDevServer",
|
|
"start": "node app.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"testDB": "node ./config/db-test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git:https://github.com/wieerwill/nodejs-boilerplate.git"
|
|
},
|
|
"keywords": [
|
|
"node",
|
|
"express",
|
|
"boilerplate"
|
|
],
|
|
"author": "Robert Jeutter",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"bugs": {
|
|
"url": "https://github.com/wieerwill/nodejs-boilerplate/issues"
|
|
},
|
|
"homepage": "https://github.com/wieerwill/nodejs-boilerplate#readme"
|
|
}
|