ReCalc is a collaboration focused mechanical design calculator, primarily for FRC.
You'll need Node version 18 and Yarn version 1.22.
$ yarn
If you want to run UI tests, you'll need to install a few dependencies beforehand in order to run Cypress. Read Cypress official docs for instructions regarding your OS.
https://docs.cypress.io/guides/getting-started/installing-cypress
yarn start
- start server
yarn build
- build to ./build
yarn test
- run tests
yarn dev:cypress-run
- run UI e2e tests
yarn dev:cypress-run --component
- run UI component tests
yarn dev:analyze
- check bundle sizes
yarn dev:coverage
- run test coverage report
yarn dev:format
- format source files
yarn dev:encrypt
- encrypt secrets/credentials
yarn dev:webp
- convert images to .webp
- UI tests
- Docs
- Target reduction -> Gearbox calc
- ILITE Drivetrain calc
- CSS overhaul
- Export models to csv/json
- PDF renderer