Hacking itk-wasm

Thank you for contributing a pull request!

Welcome to the ITK community!

We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines.

Build dependencies

Building

To build itk-wasm itself:

npm install
npm run build

Run the tests:

npm test

Build and serve the documentation:

npm run doc:www

Create a debug build (see also: the debugging example):

git clean -fdx
# pull the latest debug Docker images
./src/docker/pull.sh
npm run build:debug

Contributing

We use semantic-release for handling the change log and version. Therefore, we recommend using the following command line when creating a commit:

$ npm run commit

Otherwise you can follow the specification available here.