UNPKG

@contartec/generic-model

Version:

[![CircleCI](https://circleci.com/gh/contartec/generic-model.svg?style=shield&circle-token=d612e4b4186e0e54cd8bff326e891c277b3fdb36)](https://circleci.com/gh/contartec/generic-model) [![Maintainability](https://api.codeclimate.com/v1/badges/4947cbae75df68

88 lines (87 loc) 2.37 kB
{ "name": "@contartec/generic-model", "version": "0.2.0", "description": "", "main": "", "directories": { "lib": "./lib", "doc": "./docs", "test": "./tests" }, "files": [ "lib/*", "tests/mocks/*" ], "scripts": { "lint": "cross-env NODE_ENV=test eslint -c ./.eslintrc.json \"lib/**/*.js\" \"tests/**/*.js\"", "docs": "documentation build lib/** -f html -o docs", "docs:readme": "documentation readme --section API", "mocha": "cross-env NODE_ENV=test _mocha --opts mocha.opts", "test": "cross-env NODE_ENV=test npm run lint && npm run test:coverage", "test:watch": "cross-env NODE_ENV=test npm run lint && npm run mocha -- --watch", "test:coverage": "cross-env NODE_ENV=test nyc --reporter=text-summary --reporter=lcov --reporter=cobertura --report-dir=./coverage --reporter=html npm run mocha --reporter=min", "update:docs": "npm run docs && git add docs/. && git diff-index --quiet HEAD || git commit -m 'Updating `docs`'" }, "repository": { "type": "git", "url": "git+https://contartec@github.com/contartec/generic-model.git" }, "keywords": [ "node", "js", "object", "utils", "copy", "parse", "string" ], "author": "contartec", "license": "MIT", "bugs": { "url": "https://github.com/contartec/generic-model/issues" }, "homepage": "https://github.com/contartec/generic-model#readme", "_moduleAliases": { "lib": "./lib", "tests": "./tests", "addresses": "./tests/addresses" }, "devDependencies": { "cross-env": "^5.2.0", "documentation": "^11.0.0", "eslint": "^5.16.0", "husky": "^2.3.0", "jsdoc": "^3.6.2", "mocha": "^6.1.4", "mocha-lcov-reporter": "^1.3.0", "nyc": "^14.1.1", "sinon": "^7.3.2", "chai": "^4.2.0", "chai-as-promised": "^5.3.0", "chai-shallow-deep-equal": "^1.4.6", "chai-things": "^0.2.0", "module-alias": "^2.2.2", "sinon-mongoose": "^2.2.1" }, "dependencies": { "bluebird": "^3.7.0", "dotenv": "^6.0.0", "mongodb": "^3.1.6", "mongoose": "5.7.7", "mongoose-lifecycle": "^1.0.0", "redis": "^2.8.0", "redis-rejson": "^1.0.0" }, "husky": { "hooks": { "pre-push": "npm run lint && npm run update:docs" } }, "nyc": { "exclude": [ "*.js", "tests/*", "docs/*" ] } }