close

Filter

loading table of contents...

Frontend Developer Manual / Version 2010

Table Of Contents

6.6.3 Brick Scripts

Bricks 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.

Search Results

Table Of Contents