jbuckland-ia-ts-test

0.0.0 • Public • Published

Example: Typescript utility library

Prerequisites

Tools

You will need the following things properly installed on your computer.

PNPM install

  • If you have installed latest v16.x or greater node version in your system, then enable the pnpm using the below cmd
corepack enable
corepack prepare pnpm@latest --activate
  • If you are using lower version of node in your local system then check this page for additional installation methods https://pnpm.io/installation

Usage

Install packages

pnpm install

To start the library in the dev mode

pnpm dev

and visit http://localhost:5173

To build the library

pnpm build

To run the linter

pnpm lint

To format the files

pnpm format

To run all the tests

pnpm test

To run all the tests with coverage

pnpm test:coverage

To run a single test matching the pattern

pnpm test -- -t 'add'

We can use any options provided by jest after the '--'. This way the arguments will be passed to the jest executor.

Readme

Keywords

none

Package Sidebar

Install

npm i jbuckland-ia-ts-test

Weekly Downloads

2

Version

0.0.0

License

none

Unpacked Size

56.6 kB

Total Files

33

Last publish

Collaborators

  • jbuckland