|
|
- {
- "name": "sg-node-express-rest-api",
- "version": "0.0.2",
- "description": "Sentientgeeks Boilerplate Node Express RESTApi ES2017",
- "author": "sentientgeeks",
- "main": "src/index.js",
- "engines": {
- "node": ">=8",
- "yarn": "*"
- },
- "scripts": {
- "precommit": "yarn lint",
- "prestart": "yarn docs",
- "start": "cross-env NODE_ENV=production pm2 start ./src/index.js",
- "dev": "nodemon ./src/index.js",
- "lint": "eslint ./src/ --ignore-path .gitignore --ignore-pattern internals/scripts",
- "lint:fix": "yarn lint --fix",
- "lint:watch": "yarn lint --watch",
- "test": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text mocha --timeout 20000 --exit --recursive src/api/tests",
- "test:unit": "cross-env NODE_ENV=test mocha src/api/tests/unit",
- "test:integration": "cross-env NODE_ENV=test mocha --timeout 20000 --exit src/api/tests/integration",
- "test:watch": "cross-env NODE_ENV=test mocha --watch src/api/tests/unit",
- "coverage": "nyc report --reporter=text-lcov | coveralls",
- "postcoverage": "open-cli coverage/lcov-report/index.html",
- "validate": "yarn lint && yarn test",
- "postpublish": "git push --tags",
- "deploy": "sh ./deploy.sh",
- "docs": "apidoc -i src -o docs",
- "postdocs": "open-cli docs/index.html",
- "docker:start": "cross-env NODE_ENV=production pm2-docker start ./src/index.js",
- "docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up",
- "docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
- "docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up --abort-on-container-exit"
- },
- "repository": {
- "type": "git",
- "url": "https://krishbhatt@bitbucket.org/krishbhatt/sg-node-express-rest-api.git"
- },
- "keywords": [
- "express",
- "node",
- "node.js",
- "mongodb",
- "mongoose",
- "passport",
- "es6",
- "es7",
- "es8",
- "es2017",
- "mocha",
- "istanbul",
- "nyc",
- "eslint",
- "Travis CI",
- "coveralls",
- "REST",
- "API",
- "boilerplate",
- "generator",
- "starter project"
- ],
- "dependencies": {
- "axios": "^0.24.0",
- "bcryptjs": "2.4.3",
- "bluebird": "^3.7.2",
- "body-parser": "^1.19.1",
- "compression": "^1.7.4",
- "cors": "^2.8.5",
- "cross-env": "^7.0.3",
- "dotenv-safe": "^8.2.0",
- "email-templates": "^8.0.8",
- "express": "^4.17.2",
- "express-validation": "^3.0.8",
- "helmet": "^4.6.0",
- "http-status": "^1.5.0",
- "joi": "^17.5.0",
- "jwt-simple": "^0.5.6",
- "method-override": "^3.0.0",
- "mongoose": "^6.1.2",
- "morgan": "^1.10.0",
- "nodemailer": "^6.7.2",
- "passport": "^0.5.2",
- "passport-http-bearer": "^1.0.1",
- "passport-jwt": "4.0.0",
- "pm2": "^5.1.2",
- "pug": "^3.0.2",
- "uuid": "^8.3.2",
- "winston": "^3.3.3"
- },
- "devDependencies": {
- "apidoc": "^0.50.2",
- "chai": "^4.3.4",
- "chai-as-promised": "^7.1.1",
- "coveralls": "^3.1.1",
- "eslint": "^8.5.0",
- "eslint-config-airbnb-base": "^15.0.0",
- "eslint-plugin-import": "^2.25.3",
- "husky": "^7.0.4",
- "mocha": "^9.1.3",
- "nodemon": "^2.0.15",
- "nyc": "^15.1.0",
- "opn-cli": "^5.0.0",
- "sinon": "^12.0.1",
- "sinon-chai": "^3.7.0",
- "supertest": "^6.1.6"
- }
- }
|