mongo-mocker
Version:
A Promise/Generator Driven Mocked MongoDB Layer
54 lines (53 loc) • 1.34 kB
JSON
{
"name": "mongo-mocker",
"version": "0.0.8",
"description": "A Promise/Generator Driven Mocked MongoDB Layer",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/labithiotis/mongo-mocker.git"
},
"scripts": {
"test": "NODE_ENV=test mocha --harmony -r co-mocha -r test/setup.js --timeout=5000 --ui bdd src/**/*.test.js",
"test:coverage": "NODE_ENV=test istanbul cover _mocha -- --harmony -r co-mocha -r test/setup.js --timeout=5000 --ui bdd src/**/*.test.js",
"test:watch": "NODE_ENV=test mocha --harmony --watch -r co-mocha -r test/setup.js --timeout=5000 --ui bdd src/**/*.test.js",
"lint": "eslint ./",
"lint-fix": "sh .lint-fix.sh"
},
"pre-commit": [
"lint-fix",
"lint"
],
"keywords": [
"Co",
"Test",
"Mock",
"Mongo",
"Mocker",
"MongoDB",
"Promise",
"Co-Mongo",
"Generator",
"then-mongo"
],
"author": "Darren Labithiotis",
"license": "MIT",
"dependencies": {
"bson": "^0.5.7",
"lodash": "^4.17.2",
"mock-require": "^2.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"co-fs": "^1.2.0",
"co-mocha": "^1.1.3",
"eslint": "^3.3.1",
"istanbul": "^0.4.5",
"mocha": "^2.3.3",
"sinon": "^1.17.5",
"sinon-chai": "^2.8.0"
},
"engines": {
"node": ">=6"
}
}