You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
3.4 KiB

3 years ago
10 months ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. {
  2. "name": "sg-node-express-rest-api",
  3. "version": "0.0.2",
  4. "description": "Sentientgeeks Boilerplate Node Express RESTApi ES2017",
  5. "author": "sentientgeeks",
  6. "main": "src/index.js",
  7. "scripts": {
  8. "start": "node src/index.js",
  9. "start:local": "dotenv -v NODE_ENV=local -- nodemon ./src/index.js",
  10. "start:dev": "dotenv -v NODE_ENV=development -- node ./src/index.js",
  11. "start:prod": "dotenv -v NODE_ENV=production -- pm2 start ./src/index.js",
  12. "lint": "eslint ./src/ --ignore-path .gitignore --ignore-pattern internals/scripts",
  13. "lint:fix": "npx eslint --fix",
  14. "lint:watch": "npx eslint --watch",
  15. "format": "npx prettier --write .",
  16. "test": "dotenv -v NODE_ENV=test -- nyc --reporter=html --reporter=text mocha --timeout 20000 --exit --recursive src/api/tests",
  17. "test:unit": "dotenv -v NODE_ENV=test -- mocha src/api/tests/unit",
  18. "test:integration": "dotenv -v NODE_ENV=test -- mocha --timeout 20000 --exit src/api/tests/integration",
  19. "test:watch": "dotenv -v NODE_ENV=test -- mocha --watch src/api/tests/unit",
  20. "coverage": "nyc report --reporter=text-lcov | coveralls",
  21. "postcoverage": "open-cli coverage/lcov-report/index.html",
  22. "validate": "yarn lint && yarn test",
  23. "postpublish": "git push --tags",
  24. "deploy": "sh ./deploy.sh",
  25. "docs": "apidoc -i src -o docs",
  26. "postdocs": "open-cli docs/index.html",
  27. "docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up",
  28. "docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
  29. "docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up --abort-on-container-exit"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://krishbhatt@bitbucket.org/krishbhatt/sg-node-express-rest-api.git"
  34. },
  35. "keywords": [
  36. "express",
  37. "node",
  38. "node.js",
  39. "mongodb",
  40. "mongoose",
  41. "passport",
  42. "es6",
  43. "es7",
  44. "es8",
  45. "es2017",
  46. "mocha",
  47. "istanbul",
  48. "nyc",
  49. "eslint",
  50. "Travis CI",
  51. "coveralls",
  52. "REST",
  53. "API",
  54. "boilerplate",
  55. "generator",
  56. "starter project"
  57. ],
  58. "dependencies": {
  59. "axios": "^0.24.0",
  60. "bcryptjs": "2.4.3",
  61. "bluebird": "^3.7.2",
  62. "body-parser": "^1.19.1",
  63. "compression": "^1.7.4",
  64. "cors": "^2.8.5",
  65. "dotenv": "^16.4.5",
  66. "dotenv-cli": "^7.4.1",
  67. "email-templates": "^11.1.1",
  68. "express": "^4.17.2",
  69. "express-validation": "^4.1.0",
  70. "helmet": "^7.1.0",
  71. "http-status": "^1.5.0",
  72. "joi": "^17.5.0",
  73. "jwt-simple": "^0.5.6",
  74. "method-override": "^3.0.0",
  75. "moment-timezone": "^0.5.45",
  76. "mongoose": "^8.2.1",
  77. "morgan": "^1.10.0",
  78. "nodemailer": "^6.7.2",
  79. "passport": "^0.7.0",
  80. "passport-http-bearer": "^1.0.1",
  81. "passport-jwt": "^4.0.1",
  82. "pm2": "^5.1.2",
  83. "pug": "^3.0.2",
  84. "uuid": "^9.0.1",
  85. "winston": "^3.3.3"
  86. },
  87. "devDependencies": {
  88. "apidoc": "^0.50.2",
  89. "chai": "^4.4.1",
  90. "chai-as-promised": "^7.1.1",
  91. "coveralls": "^3.1.1",
  92. "eslint": "^8.57.0",
  93. "eslint-config-standard": "^17.1.0",
  94. "eslint-plugin-import": "^2.29.1",
  95. "eslint-plugin-n": "^16.6.2",
  96. "eslint-plugin-prettier": "^5.1.3",
  97. "eslint-plugin-promise": "^6.1.1",
  98. "husky": "^9.0.11",
  99. "mocha": "^10.3.0",
  100. "nodemon": "^3.1.0",
  101. "nyc": "^15.1.0",
  102. "opn-cli": "^5.0.0",
  103. "prettier": "^3.2.5",
  104. "sinon": "^17.0.1",
  105. "sinon-chai": "^3.7.0",
  106. "supertest": "^6.1.6"
  107. }
  108. }