Files
bennc/README.md
2025-09-03 19:18:19 +01:00

1.3 KiB

BENNC-JS

Build Status

An implementation of the BENNC client specification.

Build

To build the BENNC-JS library, first clone this repository.

Run the following commands from the root of the repository:

$ npm install
$ npm run build

The build output will be saved to the dist directory.

Development instructions

Requirements:

  • The latest LTS builds of Node and npm.

Follow the instructions below to lint, test and build BENNC-JS.

Lint

$ npm install
$ npm run lint

Test

$ npm install
$ npm run test

Build

$ npm install
$ npm run build

Visual Studio Code

This repository contains the necessary configuration files to debug, test and build BENNC-JS using only Visual Studio Code.

Run the build task (Ctrl+Shift+B or ⇧⌘B) to automatically compile the Typescript source files in the background.

Unit tests use the Jest library. Support for Visual Studio Code is offered through the Jest marketplace package maintained by Orta.