mongodb-memory-server
v4.1.0 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.build.json
coverage
cross-env MONGOMS_DOWNLOAD_DIR=./tmp jest --coverage
build:flow
find ./lib -name "*.d.ts" -exec bash -c './node_modules/.bin/flowgen --add-flow-header "$1" -o "${1%.d.ts}".js.flow' - '{}' \;
postinstall
node ./postinstall.js
semantic-release
semantic-release