diff --git a/backend/email/README.md b/backend/email/README.md index 074c852c..7f28e391 100644 --- a/backend/email/README.md +++ b/backend/email/README.md @@ -8,6 +8,7 @@ First, install the dependencies: ```sh yarn install +yarn setup // to install the correct next config in the .react-email folder, with the right aliases ``` Then, run the development server: diff --git a/backend/email/package.json b/backend/email/package.json index 56bb447b..1ea9b11d 100644 --- a/backend/email/package.json +++ b/backend/email/package.json @@ -6,9 +6,9 @@ "build": "tsc -b", "predev": "cp next.config.js .react-email/next.config.js", "dev": "email dev --port 3001", - "postinstall": "echo 'Setting up email dev, stop the process when it says that react email is ready and then run yarn dev' && yarn dev", "lint": "npx eslint . --max-warnings 0", "lint-fix": "npx eslint . --fix", + "setup": "echo 'Setting up email dev, stop the process when it says that react email is ready and then run yarn dev' && yarn dev", "test": "jest --config jest.config.ts --passWithNoTests", "typecheck": "npx tsc --noEmit" },