mongodb-memory-server
v2.4.1 mongodb mongoose mock stub mockgoose mongodb-prebuilt mongomem
flow
flow
lint
eslint --ext .js ./src && npm run tslint
test
npm run coverage && npm run lint && npm run flow && npm run tscheck
build
npm-run-all build:*
watch
jest --watch
tslint
tslint -p . "src/**/*.d.ts"
tscheck
tsc
build:ts
find ./src -name '*.d.ts' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\/src\//\/lib\//g'`; done
coverage
jest --coverage
build:cjs
rimraf lib && babel src --ignore __tests__,__mocks__ -d lib
build:flow
find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\/src\//\/lib\//g'`.flow; done
postinstall
node ./postinstall.js
semantic-release
semantic-release