close

Filter

Frontend Developer Manual / Version 2304
Table Of Contents

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.

Was this article useful?

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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