Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #694

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 17 additions & 84 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"private": false,
"license": "MIT",
"engines": {
"node": ">=8",
"node": ">=14",
"yarn": "*"
},
"scripts": {
Expand All @@ -17,95 +17,28 @@
"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",
"test": "cross-env NODE_ENV=test nyc mocha --timeout 20000 --exit --recursive src/api/tests",
"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"
"docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up"
},
"repository": {
"type": "git",
"url": "[email protected]:danielfsousa/express-rest-es2017-boilerplate.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.21.1",
"bcryptjs": "2.4.3",
"bluebird": "^3.5.0",
"body-parser": "^1.17.0",
"compression": "^1.6.2",
"cors": "^2.8.3",
"cross-env": "^7.0.3",
"axios": "^1.5.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"dotenv-safe": "^8.2.0",
"email-templates": "^6.0.3",
"express": "^4.15.2",
"express-validation": "^1.0.2",
"helmet": "^4.6.0",
"http-status": "^1.0.1",
"joi": "^10.4.1",
"jwt-simple": "0.5.6",
"lodash": "^4.17.4",
"method-override": "^3.0.0",
"moment-timezone": "^0.5.13",
"mongoose": "^5.2.17",
"morgan": "^1.8.1",
"nodemailer": "^6.3.1",
"passport": "^0.4.0",
"passport-http-bearer": "^1.0.1",
"passport-jwt": "4.0.0",
"pm2": "^5.1.0",
"pug": "^3.0.1",
"uuid": "^3.1.0",
"winston": "^3.1.0"
"express": "^4.18.2",
"helmet": "^6.0.1",
"joi": "^17.9.2",
"mongoose": "^7.3.0",
"pm2": "^5.3.0"
},
"devDependencies": {
"apidoc": "^0.28.1",
"chai": "^4.1.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.0",
"eslint": "^7.29.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.2.0",
"husky": "^3.0.7",
"mocha": "^6.2.2",
"nodemon": "^2.0.1",
"eslint": "^8.50.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.28.1",
"husky": "^8.0.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"opn-cli": "^5.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.0.0",
"supertest": "^6.1.3"
"supertest": "^6.3.3"
}
}