@flarehr/apollo-super-campaign 1.54.59 → 1.56.61

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 CHANGED
@@ -1,28 +1,27 @@
1
1
  # Apollo Super Campaign
2
+
2
3
  ## 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.
4
+
5
+ Run `npm run dev` or `npm start` to start the development server.
5
6
 
6
7
  ## CLI Commands
7
- * `npm install`: Installs dependencies
8
8
 
9
- * `npm run dev`: Run a development
9
+ - `npm install`: Installs dependencies
10
+
11
+ - `npm run dev`: Run a development
10
12
 
11
- * `npm run dev:token`: Get token and Run a development
13
+ - `npm run dev`: Starts the dev server
12
14
 
13
- * `npm run preview`: Run a production-like server
15
+ - `npm run preview`: Run a production-like server
14
16
 
15
- * `npm run build`: Production-ready build
17
+ - `npm run build:prod`: Production-ready build for the web components (to be published on npm)
16
18
 
17
- * `npm run lint`: Pass TypeScript files using ESLint
19
+ - `npm run build:harness`: Production-ready build for the harness (to be deployed on azure)
18
20
 
19
- * `npm run playwright:setup`: Install playwright browsers for e2e tests
21
+ - `npm run lint`: Pass TypeScript files using ESLint
20
22
 
21
- * `npm run playwright`: Run playwright tests
23
+ - `npm run playwright:setup`: Install playwright browsers for e2e tests
22
24
 
23
- * `npm run playwright:ui`: Run playwright tests with UI
25
+ - `npm run playwright`: Run playwright tests
24
26
 
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
27
+ - `npm run playwright:ui`: Run playwright tests with UI