mongodb-mocker
Version:
Simple class to manage an in-memory mongodb database for tests or local application
44 lines (43 loc) • 1.03 kB
JSON
{
"name": "mongodb-mocker",
"version": "1.2.0",
"description": "Simple class to manage an in-memory mongodb database for tests or local application",
"main": "index.js",
"scripts": {
"test": "mocha test.js --slow 2000"
},
"keywords": [
"mongodb",
"mongo",
"mock",
"mocking",
"test",
"testing",
"mongoose",
"simple"
],
"author": "Alexandre Sobolevski <sobolevski.a@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/alexandresobolevski/mongodb-mocker.git"
},
"homepage": "https://github.com/alexandresobolevski/mongodb-mocker#readme",
"dependencies": {
"mongodb": "^3.0.2",
"mongodb-prebuilt": "^4.6.0",
"portfinder": "^1.0.3"
},
"engines": {
"node": ">=8.0"
},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"mocha": "^5.1.0",
"mongoose": "^5.0.15",
"sinon": "^4.5.0"
}
}