Skip to content

Commit e93ec2c

Browse files
committed
Update readme
1 parent b1e86d4 commit e93ec2c

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

web-report/README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,35 @@ npm run build
4242
yarn build
4343
```
4444

45-
The build artifacts will be stored in the `dist/` directory.
45+
The build artifacts will be stored in the `../target/generated-sources/webreport` directory.
4646

4747
## Preview Production Build
4848

49-
To preview the production build locally:
49+
To preview the production build locally (uses existing build without rebuilding):
5050

5151
```bash
5252
npm run preview
5353
# or
5454
yarn preview
5555
```
5656

57+
## Debug Mode
58+
59+
To run the application in debug mode using static test files:
60+
61+
```bash
62+
npm run debug
63+
# or
64+
yarn debug
65+
```
66+
67+
This will build the project and copy static test files from `tests/static` directory to `../target/generated-sources/webreport` before previewing.
68+
5769
## Available Scripts
5870

5971
- `dev` - Start development server
6072
- `build` - Build for production
6173
- `preview` - Preview production build
6274
- `lint` - Run ESLint
63-
- `installAndBuild` - Install dependencies and build (Yarn only)
75+
- `installAndBuild` - Install dependencies, run tests and build (Yarn only)
76+
- `debug` - Build the project and run in debug mode using static test files from `tests/static` directory

0 commit comments

Comments
 (0)