close

Filter

loading table of contents...

Frontend Developer Manual / Version 2404

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:

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.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.