Frontend Developer Manual / Version 2010
Table Of ContentsBricks can offer different scripts depending on the purpose of the brick. CoreMedia default and example bricks include the following scripts:
yarn test
This command will run tests if available. Some bricks are using jest for unit tests.
yarn 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
.