mongodb-memory-server-core
v6.3.3 mongodb mongoose mock stub mockgoose mongodb-prebuilt mongomem
lint
npm run eslint && npm run tscheck
test
npm run lint && npm run coverage
build
npm-run-all build:*
watch
cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --watchAll
eslint
eslint -c ../../.eslintrc.js 'src/**/*.{js,ts}'
cleanup
rimraf tmp lib coverage node_modules/.cache
tscheck
tsc --noEmit
build:ts
rimraf ./lib && tsc -p ./tsconfig.build.json
coverage
cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --coverage
disabled-build:flow
find ./lib -name "*.d.ts" -exec bash -c './node_modules/.bin/flowgen --add-flow-header "$1" -o "${1%.d.ts}".js.flow' - '{}' \;