tr-ant-utils

Project description.

Usage no npm install needed!

<script type="module">
  import trAntUtils from 'https://cdn.skypack.dev/tr-ant-utils';
</script>

README

tr-ant-utils

Build Status

Project description.

Contains typeScript defintion files.

Documentation

Test

Set up uri for test db

  • In .npmrc set SOME_URI=xxx, higest priority
  • In package.json field config.SOME_URI

Run test

npm test

If wanna use with travis don't forgate to add service to services in .travis.yml file.

Development

Project contians tasks file for Visual Studio Code

  • Build - run tsc, same as npm run-task build
  • Test - run mocha, same as npm test

For some reason VS Code take quite a time to start build, usually watch rebuild proccess via tsc -w work much faster.

This way use tsc -w in console and then run test task manually, when neccessary.

Documentation

Generate typedoc ./src/index.ts

To publish docs on github

git checkout --orphan gh-pages
git add --all .
git commit -am "first commit"
git push origin gh-pages