The following commands are supported.
You must set
NODE_ENV to use these commands.
To do so, you can add the following line to your
Local dev server¶
yarn dev- Run the local dev server.
yarn build- Compile without a dev server, into
yarn manage:translations- Normalizes translation files. Should always be run after editing i18n strings.
yarn test:all- Runs all tests and linters.
yarn test- Runs Jest for frontend unit tests.
yarn lint- Runs all linters.
yarn lint:sass- Runs only SASS linter.