Javascript visual programming library
This npm package exports a React component that serves as a fully fledged visual programming interface, ideal for simulation.
Refer to the User Guide for details on how to use this package
playground
is an internal CRA that can be used to test this React Component Package that currently exports the component Canvas
.
- Firstly clone this repo and change directory into the root of the project.
git clone https://github.com/ideas-lab-nus/vizpro.git
cd vizpro
- Run the following at root of the repository to start the React app:
npm update && npm run build
npm run i-all
npm run dev
- The main aspects and logic of the package are within the
src
folder and changes made to any file, will immediately be reflected in theplayground
on saving. - Refer to the Developer Guide to get an understanding of the codebase.
- Run
npm run test
at root to run all the test cases. - Run
npm run coverage
at root to run all the test cases and receive a coverage report. - Run
npm run deploy
at root to deploy changes to github pages. - A new version can be published by signing into the npm account, incrementing the version number in
package.json
and runningnpm publish
.