@codetanzania/majifix-common
Version:
Common utilities for majifix
134 lines (133 loc) • 3.92 kB
JSON
{
"name": "@codetanzania/majifix-common",
"version": "0.20.0",
"description": "Common utilities for majifix",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ rollup.config.js examples/",
"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"
},
"keywords": [
"codetanzania",
"majifix",
"majifi-module",
"common",
"helpers",
"utilities",
"constants",
"defaults"
],
"repository": {
"type": "git",
"url": "https://github.com/CodeTanzania/majifix-common.git"
},
"author": {
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
},
{
"name": "benMaruchu",
"email": "benmaruchu@gmail.com",
"url": "https://github.com/BenMaruchu"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/CodeTanzania/majifix-common/issues",
"email": "lallyelias87@gmail.com"
},
"homepage": "https://github.com/CodeTanzania/majifix-common",
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.7.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@lykmapipo/mongoose-test-helpers": "^0.7.25",
"@lykmapipo/test-helpers": "^0.4.9",
"chai": "^4.2.0",
"commitizen": "^4.0.3",
"coveralls": "^3.0.7",
"cz-conventional-changelog": "^3.0.2",
"doxdox": "^3.0.0",
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsdoc": "^17.1.1",
"eslint-plugin-mocha": "^6.2.1",
"eslint-plugin-prettier": "^3.1.1",
"generate-changelog": "^1.8.0",
"handlebars": "^4.5.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"lodash.template": "^4.5.0",
"mocha": "^6.2.2",
"mongoose": ">=5.7.10",
"npm-check-updates": "^3.2.1",
"nyc": "^14.1.1",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.26.5",
"shelljs": "^0.8.3"
},
"peerDependencies": {
"mongoose": ">=5.7.10"
},
"dependencies": {
"@lykmapipo/common": ">=0.28.9",
"@lykmapipo/env": ">=0.14.10",
"@lykmapipo/mongoose-common": ">=0.26.4",
"async": ">=3.1.0",
"lodash": ">=4.17.15"
},
"engines": {
"node": ">=12.4.0",
"npm": ">=6.9.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"
}
}
}