eslint . --ext .js,.ts. Add
--fixto automatically fix linting issues whenever possible.
npm run-script build
This library is tested with Node 10+. To test it locally:
.env. Put your API token inside. The
.envfile is excluded from version control so your token is safe. All in all, we use pre-recorded cassettes, so the actual API requests won’t be sent. However, providing at least some token is required.
npm test. Observe test results and coverage.
bundle exec jekyll serve --baseurl=''.
http://localhost:4000and observe the docs.