@lykmapipo/mongoose-connection
Version:
Re-usable helpers for mongoose connection
134 lines (133 loc) • 3.97 kB
JSON
{
"name": "@lykmapipo/mongoose-connection",
"version": "0.5.2",
"description": "Re-usable helpers for mongoose connection",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prepare": "husky install",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ examples/ rollup.config.js",
"prettier": "prettier --write '**/*.{md,json,yml,html}'",
"pretest": "npm run lint",
"test": "NODE_ENV=test nyc --reporter=html --reporter=text mocha --exit --timeout=8000 --require @babel/register test/**/*.spec.js",
"test:unit": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/unit/**/*.spec.js",
"test:integration": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/integration/**/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md",
"cmt": "git add -A && git-cz",
"changelog": "changelog",
"chore:deps": "ncu -u && npm install --save",
"lint:config": "eslint --print-config rollup.config.js",
"examples": "NODE_ENV=development BASE_PATH=./examples babel-node ./examples/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/lykmapipo/mongoose-connection.git"
},
"keywords": [
"lykmapipo",
"mongoose",
"mongoose-plugin",
"connection",
"open",
"connect",
"clear",
"drop",
"models",
"common",
"utils",
"helpers"
],
"author": {
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/lykmapipo/mongoose-connection/issues",
"email": "lallyelias87@gmail.com"
},
"homepage": "https://github.com/lykmapipo/mongoose-connection",
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/node": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@babel/register": "^7.15.3",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/travis-cli": "^13.1.0",
"@lykmapipo/test-helpers": "^0.6.23",
"acorn": "^8.5.0",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"doxdox": "^3.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"generate-changelog": "^1.8.0",
"handlebars": "^4.7.7",
"husky": "^7.0.2",
"kind-of": "^6.0.3",
"lint-staged": "^11.1.2",
"lodash.template": "^4.5.0",
"minimist": "^1.2.5",
"mocha": "^9.1.1",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.57.0",
"shelljs": "^0.8.4"
},
"peerDependencies": {},
"dependencies": {
"@lykmapipo/common": ">=0.44.4",
"@lykmapipo/env": ">=0.17.39",
"async": ">=3.2.1",
"lodash": ">=4.17.21",
"mongoose": ">=6.0.7"
},
"engines": {
"node": ">=8.11.1",
"npm": ">=5.6.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.js": [
"npm run lint",
"git add -A"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}