UNPKG

ready-to-go-node-template

Version:

A node boilerplate template with built-in support for socket and MongoDB using Mongoose.

67 lines 1.98 kB
{ "name": "app-backend-boiler-plate", "version": "1.0.0", "description": "boiler plate", "main": "index.js", "scripts": { "build": "babel src -s -D -d lib", "start": "npm run build && node --env-file=.env lib/index.js", "serve": "nodemon --exec babel-node --env-file=.env src/index.js", "prod": "pm2 start ecosystem.config.json --no-daemon", "test": "npm run build && node -r dotenv/config ./node_modules/.bin/jest --testPathPattern=lib --coverage --detectOpenHandles" }, "keywords": [], "author": "aravindh", "license": "ISC", "dependencies": { "axios": "^1.3.4", "chalk": "^3.0.0", "child_process": "^1.0.2", "cors": "^2.8.5", "crypto": "^1.0.1", "dotenv": "^16.4.1", "express": "^4.18.2", "express-basic-auth": "^1.2.1", "express-fileupload": "^1.4.1", "express-rate-limit": "^6.7.0", "fcm-node": "^1.6.1", "helmet": "^7.0.0", "http": "^0.0.1-security", "https": "^1.0.0", "ioredis": "^5.3.2", "joi": "^17.7.0", "joi-objectid": "^4.0.2", "mongoose": "^7.6.3", "mongoose-find-by-reference": "^1.0.6", "mongoose-paginate-v2": "^1.7.1", "node-cron": "^3.0.2", "nodemailer": "^6.9.6", "passport": "^0.6.0", "pm2": "^5.2.2", "sharp": "^0.31.3", "socket.io": "^4.7.2", "winston": "^3.11.0", "xss-clean": "^0.1.1" }, "devDependencies": { "@babel/cli": "^7.16.7", "@babel/core": "^7.16.7", "@babel/eslint-parser": "^7.16.5", "@babel/helper-compilation-targets": "^7.16.7", "@babel/node": "^7.16.7", "@babel/plugin-transform-runtime": "^7.17.0", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.16.11", "@babel/runtime": "^7.16.7", "babel-tape-runner": "^3.0.0", "chai": "^4.3.4", "chai-http": "^4.3.0", "eslint": "^8.6.0", "jest": "^28.1.1", "mocha": "^9.1.3", "nodemon": "^2.0.15", "sinon": "^12.0.1", "supertest": "^6.2.3", "tape": "^5.4.0" } }