@larner.dev/api
v1.15.0
Published
A larner.dev project
Downloads
29
Readme
@larner.dev/api
Setup
Run yarn
Commands
Use yarn
followed by any of these commands:
build
: Output both ESM and CJS versions of the project, as well as type definitions tobuild
directory.build-cjs
: Output CJS versions of the project tobuild/cjs
directory.build-ems
: Output ESM versions of the project tobuild/esm
directory.build-types
: Output type definitions tobuild/types.d.ts
file.dev
: Re-build the ESM version any time there are changes to the project.format
: Format all typescript files using prettier.lint
: Run the linter to check for errors.test
: Run unit tests.test-watch
: Run unit tests in watch mode.