Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 967 Bytes

DEVELOPMENT.md

File metadata and controls

41 lines (30 loc) · 967 Bytes

Development

# Run tests
deno test

# Linter
deno lint

# Formatter
deno fmt --check
deno fmt

Releases

Releases are to be created and managed through GitHub Releases.

New releases are automatically published to deno.land with a GitHub Webhook and to npm with a GitHub Action.

Testing the package

There's a script (using dnt) that generates an npm package from the current code into the npm/ directory:

# Version tag is not required for local testing
deno run -A scripts/build_npm.ts

If you have an npm project setup locally for testing, you may install the built package using a local path:

npm install path/to/com-plain-date/npm