ottoman
v2.0.0-alpha.20 couchbase odm nosql json document model schema database
dev
tsc --watch --incremental
docs
yarn docs:generate && yarn docs:build && cp vuepress/CNAME docs/.vuepress/dist
lint
eslint --ignore-pattern '/lib/' '*/**/*.ts' --quiet --fix
test
jest --clearCache && jest -i
build
rimraf ./lib && tsc
commit
git-cz
docs:dev
cp -r .vuepress/* docs/.vuepress && cp -r vuepress/* docs/ && vuepress dev docs
is:ready
yarn lint && yarn build && yarn test:ready
test:dev
jest --watch
build:test
yarn build && yarn test
docs:build
cp -r .vuepress/* docs/.vuepress && cp -r vuepress/* docs/ && vuepress build docs
docs:serve
yarn docs && serve docs/.vuepress/dist
test:ready
jest --clearCache && jest -i --coverage
test:legacy
jest --clearCache && OTTOMAN_LEGACY_TEST=1 jest -i
docs:generate
rimraf docs && typedoc
test:coverage
jest --clearCache && OTTOMAN_LEGACY_TEST=1 jest -i --coverage