Browse Source

package and env update

master
krish 10 months ago
parent
commit
f59c2d8e97
5 changed files with 17316 additions and 3541 deletions
  1. +10
    -0
      .env.development
  2. +10
    -0
      .env.production
  3. +12183
    -0
      package-lock.json
  4. +13
    -13
      package.json
  5. +5100
    -3528
      yarn.lock

+ 10
- 0
.env.development View File

@ -0,0 +1,10 @@
JWT_SECRET=sajdhgjhasdhgads
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USERNAME=krish@sentientgeeks.com
EMAIL_PASSWORD=123456
NODE_ENV=development
PORT=3000
MONGO_URI_TESTS=mongodb://localhost:27017/sg-node-express-rest-api
MONGO_URI=mongodb://localhost:27017/sg-node-express-rest-api
JWT_EXPIRATION_MINUTES=300

+ 10
- 0
.env.production View File

@ -0,0 +1,10 @@
JWT_SECRET=sajdhgjhasdhgads
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USERNAME=krish@sentientgeeks.com
EMAIL_PASSWORD=123456
NODE_ENV=development
PORT=3000
MONGO_URI_TESTS=mongodb://localhost:27017/sg-node-express-rest-api
MONGO_URI=mongodb://localhost:27017/sg-node-express-rest-api
JWT_EXPIRATION_MINUTES=300

+ 12183
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 13
- 13
package.json View File

@ -67,40 +67,40 @@
"compression": "^1.7.4", "compression": "^1.7.4",
"cors": "^2.8.5", "cors": "^2.8.5",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"dotenv-safe": "^8.2.0",
"email-templates": "^8.0.8",
"dotenv": "^16.4.5",
"email-templates": "^11.1.1",
"express": "^4.17.2", "express": "^4.17.2",
"express-validation": "^3.0.8",
"helmet": "^4.6.0",
"express-validation": "^4.1.0",
"helmet": "^7.1.0",
"http-status": "^1.5.0", "http-status": "^1.5.0",
"joi": "^17.5.0", "joi": "^17.5.0",
"jwt-simple": "^0.5.6", "jwt-simple": "^0.5.6",
"method-override": "^3.0.0", "method-override": "^3.0.0",
"mongoose": "^6.1.2",
"mongoose": "^8.2.1",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"nodemailer": "^6.7.2", "nodemailer": "^6.7.2",
"passport": "^0.5.2",
"passport": "^0.7.0",
"passport-http-bearer": "^1.0.1", "passport-http-bearer": "^1.0.1",
"passport-jwt": "4.0.0",
"passport-jwt": "^4.0.1",
"pm2": "^5.1.2", "pm2": "^5.1.2",
"pug": "^3.0.2", "pug": "^3.0.2",
"uuid": "^8.3.2",
"uuid": "^9.0.1",
"winston": "^3.3.3" "winston": "^3.3.3"
}, },
"devDependencies": { "devDependencies": {
"apidoc": "^0.50.2", "apidoc": "^0.50.2",
"chai": "^4.3.4",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1", "chai-as-promised": "^7.1.1",
"coveralls": "^3.1.1", "coveralls": "^3.1.1",
"eslint": "^8.5.0", "eslint": "^8.5.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.3", "eslint-plugin-import": "^2.25.3",
"husky": "^7.0.4",
"mocha": "^9.1.3",
"nodemon": "^2.0.15",
"husky": "^9.0.11",
"mocha": "^10.3.0",
"nodemon": "^3.1.0",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"opn-cli": "^5.0.0", "opn-cli": "^5.0.0",
"sinon": "^12.0.1",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0", "sinon-chai": "^3.7.0",
"supertest": "^6.1.6" "supertest": "^6.1.6"
} }


+ 5100
- 3528
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save