A web extension to help selecting teaching unit for the CNAM.
CNAMinator make teaching units from the formation.cnam.fr selectable so you can plan and visualize your progress on a degree.
The scripts/build.js file is responsible for generating a manifest.json for the
desired browser, bundle the JavaScript files and construct the zip archive which will be published.
In order to run the script Node.js (LTS or higher will work) must be installed. Once installed, in the root folder, run the following commands:
npm installnpm run build firefoxornpm run build chrome
A archive named cnaminator-x.y.z.zip should have been created in the root directory.
We use Jest for the unit testing and Playwright for E2E testing.
You can run the unit and and E2E tests with respectively npm run test and npm run e2e.
Project layout and build scripts have been inspired by the darkreader and AugmentedSteam extensions.