DEVELOPMENT.md 1011 B

Development

Environment

In order to set up the development environment, run the following based on the OS used:

Linux

python -m venv distro/python-linux
source distro/python-linux/bin/activate
pip install nodeenv
nodeenv --node=16.0.0 --npm=8.1.0 --with-npm distro/nodejs-linux
deactivate

source distro/nodejs-linux/bin/activate
npm install axios@1.4.0
npm install -D @types/node@18.16.8 rimraf@5.0.0 typescript@5.0.4
deactivate_node

Windows

python -m venv distro/python-windows
distro\python-windows\Scripts\activate.bat
pip install nodeenv
nodeenv --node=16.0.0 --npm=8.1.0 --with-npm distro\nodejs-windows
distro\python-windows\Scripts\deactivate.bat

distro\nodejs-windows\Scripts\activate.bat
npm install axios@1.4.0
npm install -D @types/node@18.16.8 rimraf@5.0.0 typescript@5.0.4
distro\nodejs-windows\Scripts\deactivate.bat

Building

To build the module run

npm run build

There are other development commands specified in the package.json file.