Frontend Developer Manual / Version 2406.1
Table Of ContentsBricks can offer different scripts depending on the purpose of the brick. CoreMedia default and example bricks include the following scripts:
pnpm test
This command will run tests if available. Some bricks are using jest for unit tests.
pnpm prettier
This command will run the code formatter prettier for all files
inside the folder src/js/
.
The configuration is defined in file .prettierrc
and .prettierignore
.