Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.22 KB

README.md

File metadata and controls

47 lines (27 loc) · 1.22 KB

strahl-lib

Main library package provided as NPM package.

For documentation on strahl, please refer to the Github repository. This file provides information about how to work on the strahl library itself, and not how to use it.

Development

npm run dev

In order to expose in local network, run:

npm run dev -- --host

Testing

The project uses vitest for unit testing.

npm run test

Linting

The project uses eslint for static code analysis.

npm run lint

Access

Code Style

There are magic comments, using the form of: CODE#ABC. These comments are references from the master thesis to the implementation.

Publish

  1. git stash --include-untracked
  2. npm run build
  3. npm version prerelease --preid=alpha
  4. npm publish --dry-run
  5. npm publish

Tooling Setup

For working with wgsl, it is recommended to use Visual Studio Code with WGSL Literal extension.