Thank you for your interest in algebra.ts
!
This project and everyone participating in it is governed by the CONTRIBUTING.md Code of Conduct. By participating, you are expected to uphold this code.
The following sections list the prerequisites and the steps required to setup the development environment up until your first build and deployment.
- Git for version control.
- Node.js (the expected version can be found
in .nvmrc) and a package manager where
npm
is the recommended option.
While not strictly necessary, you might want to use a Node environment manager like nvm, which takes care of installing the required Node version based on.nvmrc
automatically. - An IDE, Visual Studio Code is the preferred option since the recommended extensions have been configured.
git clone git@github.com:remigius42/algebra.ts
to clone the repository.npm install
to install the dependencies.- Install the recommended extensions in Visual Studio Code by opening the repository and confirming the installation in the automatic recommended extensions message.
- If you are using a GUI for Git, please make sure that the Git
configuration core.hooksPath is supported. Otherwise you might be
able to workaround this issue via
rm -rf .git/hooks && ln -s ../.husky .git/hooks
(see a related Husky issue comment for further details).
npm run build
to build the UMD and ES Module version both minified and not minifiednpm test
to run the unit testsnpm run lint
to run the linter