@flarehr/apollo-super-campaign 1.53.55 → 1.54.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Apollo Super Campaign
2
+ ## How to run the project
3
+ At the start of every development session, run `npm run dev:token`, which will get a new access token and run the development server. If you already have an access token, you can run `npm run dev` to start the development server.
4
+ This will launch Chrome browser with the `--disable-web-security` flag, which will bypass any CORS issues.
5
+
6
+ ## CLI Commands
7
+ * `npm install`: Installs dependencies
8
+
9
+ * `npm run dev`: Run a development
10
+
11
+ * `npm run dev:token`: Get token and Run a development
12
+
13
+ * `npm run preview`: Run a production-like server
14
+
15
+ * `npm run build`: Production-ready build
16
+
17
+ * `npm run lint`: Pass TypeScript files using ESLint
18
+
19
+ * `npm run playwright:setup`: Install playwright browsers for e2e tests
20
+
21
+ * `npm run playwright`: Run playwright tests
22
+
23
+ * `npm run playwright:ui`: Run playwright tests with UI
24
+
25
+ * To host the apollo-super-campaign with proper access-token
26
+ - Change the api-key and profile id to the ones that suits your needs
27
+ - Press Ctrl + Shift + B (Windows/Linux) or Cmd + Shift + B (Mac) to see the command written in the tasks.json
28
+ - **Run Vite Dev Server with new token"**: Run the dev vite server with a newly fetched token