npm run devto start the dev server.npm run build && npm run previewto see the final build.- A GitHub action will automatically deploy any changes to main.
npm run testto run themnpm run coveragegenerates a coverage report which you can view in/coverage/index.html.
Please write tests for any changes you make, as much as is reasonable.
-
philosophy: https://testing-library.com/docs/guiding-principles
-
examples: https://testing-library.com/docs/react-testing-library/example-intro
-
list of DOM matchers: https://github.com/testing-library/jest-dom
npm run formatto format before committing.npm run lint. Usenpm run lint:fixto accept any automatic fixes.- On PRs, a GitHub action will make sure everything is formatted properly and has no lint errors.
src/app: UI components that depend on app statesrc/components: Generic UI componentssrc/assets: Non-code assets
src/globals: Global state and actions
src/features: Everything else that doesn't have to deal with the UI or global statepublic: Stuff that should not be processed during the build- includes worker scripts
- To add a new example model drop your new model (with .ant extension) into src/assests/examples
- Use dash characters to represent spaces in your files name, this will be used to display the name to the user.
- You might need to refresh your browser cache (F5 on windows) to see the change.
- migrations (IMPORTANT IF YOU ARE MODIFYING SAVE DATA)
- global state management
- styling
- simulation + copasi/antimony
- url
- icons
- manual