mongodb-memory-server-core
v5.2.4 mongodb mongoose mock stub mockgoose mongodb-prebuilt mongomem
lint
eslint 'src/**/*.{js,ts}'
test
npm run lint && npm run tscheck && npm run coverage
build
npm-run-all build:*
watch
cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --watch
tscheck
tsc --noEmit
build:ts
rimraf ./lib && tsc -p ./tsconfig.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' - '{}' \;