UNPKG

mongodoki

Version:

A tool to on-the-fly run MongoDB as a Docker Container, data restoring included

114 lines (113 loc) 3.2 kB
{ "name": "mongodoki", "version": "5.0.0", "description": "A tool to on-the-fly run MongoDB as a Docker Container, data restoring included", "main": "dist/index.js", "typings": "dist/index.d.ts", "bin": { "mongodoki": "dist/bin.js" }, "scripts": { "build": "tsc", "build:all": "npm i && npm run build && npm i --package-lock", "build:tests": "tsc -p test", "clean": "rimraf dist coverage .nyc_output test-results", "clean:all": "npm run clean && rimraf node_modules", "cover": "nyc --reporter=lcov --reporter=text npm t", "report-coverage": "cat ./coverage/lcov.info | coveralls", "prebuild": "rimraf dist", "commit": "git-cz", "check-coverage": "nyc check-coverage --statements 20 --branches 20 --functions 20 --lines 20", "watch:test": "npm t -- -w", "test": "find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js", "test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js", "test:watch": "npm t -- -w", "semantic-release": "semantic-release", "semantic-release-dry": "semantic-release --dry-run" }, "repository": { "type": "git", "url": "https://github.com/vivocha/mongodoki.git" }, "files": [ "dist", "README.md", "LICENSE" ], "author": "Antonio Pintus <apintus@vivocha.com> (http://www.vivocha.com)", "contributors": [ { "name": "Federico Pinna", "email": "fpinna@vivocha.com" } ], "license": "MIT", "keywords": [ "Docker", "MongoDB", "Containers" ], "devDependencies": { "@commitlint/cli": "^16.2.1", "@commitlint/config-conventional": "^16.2.1", "@types/chai": "^4.3.0", "@types/chai-as-promised": "7.1.5", "@types/chai-spies": "1.0.3", "@types/dockerode": "^3.3.3", "@types/mocha": "^9.1.0", "@types/mongodb": "^4.0.6", "@types/node": "^16.11.26", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "chai-spies": "^1.0.0", "commitizen": "^4.2.4", "coveralls": "^3.1.1", "cz-conventional-changelog": "^3.3.0", "husky": "^7.0.4", "mocha": "^9.2.1", "mochawesome": "^7.1.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", "semantic-release": "^19.0.2", "typescript": "^4.6.2" }, "dependencies": { "commander": "^9.0.0", "debuggo": "^1.4.1", "dockerode": "^3.3.1", "mongodb": "^4.4.0", "ora": "^6.1.0" }, "engines": { "node": ">=16.14.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "npm run build && npm run cover && npm run check-coverage" } }, "nyc": { "include": [ "dist/**/*.js", "src/**/*.ts" ], "extension": [ ".js", ".ts" ], "exclude": [ "**/test" ], "reporter": [ "lcov", "text" ], "sourceMap": true } }