First install the packages:
npm iTo start only the React app use this command:
npm run devIf you want to start the React app with the json-server run this command:
npm run dev-dbTo run the build for production use:
npm run buildTo run eslint and prettier use:
npm run lint && npm run formatTo extract the messages from the source code use either of the following:
npm run extract-de # extract German messages
npm run extract-en # extract English messages
npm run extract-fr # extract French messagesBefore compiling the messages make sure that the messages are translated correctly in the previously extracted file. To compile the messages use either of the following:
npm run compile-de # compile German messages
npm run compile-en # compile English messages
npm run compile-fr # compile French messages