typegoose

v3.2.0
Define Mongoose models using TypeScript classes.

start

npm run build && node ./lib/typegoose.js

build

rimraf lib && tsc

lint

tslint --type-check --project tsconfig.json

precommit

npm run test

fail-on-lib-changed

if [ $(git diff --name-only lib) ]; then exit 1; fi

test

npm run lint && npm run cover

mocha

npm run build && mocha 'lib/test/**/*.test.js'

cover

npm run build && istanbul cover _mocha -- 'lib/test/**/*.test.js' -R spec

coveralls

cat ./coverage/lcov.info | coveralls

Metadata

  • MIT
  • Whatever
  • Akos Szokodi
  • released 9/19/2017

Downloads

Maintainers