@lykmapipo/mongoose-test-helpers
Version:
mongoose test helpers
128 lines (127 loc) • 4.09 kB
JSON
{
"name": "@lykmapipo/mongoose-test-helpers",
"version": "0.10.0",
"description": "mongoose test helpers",
"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 --timeout=60000 && npm install --save --timeout=60000",
"chore:deps:minor": "ncu -u --target=minor --timeout=60000 && npm install --save --timeout=60000",
"chore:deps:patch": "ncu -u --target=patch --timeout=60000 && npm install --save --timeout=60000",
"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-test-helpers.git"
},
"keywords": [
"lykmapipo",
"mongoose",
"test",
"helpers",
"utilities",
"mocha"
],
"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-test-helpers/issues",
"email": "lallyelias87@gmail.com"
},
"homepage": "https://github.com/lykmapipo/mongoose-test-helpers",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/node": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/register": "^7.16.0",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@commitlint/travis-cli": "^14.1.0",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"doxdox": "^3.0.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsdoc": "^37.0.3",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"generate-changelog": "^1.8.0",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.59.0"
},
"peerDependencies": {},
"dependencies": {
"@lykmapipo/mongoose-common": ">=0.40.0",
"@lykmapipo/mongoose-connection": ">=0.5.2",
"@lykmapipo/mongoose-faker": ">=0.12.0",
"@lykmapipo/test-helpers": ">=0.6.23",
"async": ">=3.2.2",
"faker": ">=5.5.3",
"lodash": ">=4.17.21",
"mongoose": ">=6.0.12",
"sinon": ">=12.0.1",
"sinon-chai": ">=3.7.0"
},
"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"
}
}
}