vend-types

TypeScript definitions for Vend.

Usage no npm install needed!

<script type="module">
  import vendTypes from 'https://cdn.skypack.dev/vend-types';
</script>

README

Vend Types · npm version

Vend Data model TypeScript definitions

Including vend-types in your project

vend-types is published to npm. You can include it in your project using:

npm install --save-dev vend-types

Linting

vend-types uses dtslint for ensuring style and correctness. Perform a lint by running:

yarn lint

Linting is also run before the package is prepared and packed to npm.

Contributing

To contribute:

  1. make your changes in a separate branch
  2. create a pull request and get it code reviewed
  3. once past code review, merge to master
  4. publish a new version on master (see below)

Publishing

This module is published via np. To version and publish, run the following on a clean, up to date master branch:

np <major/minor/patch>