fix: forward flags to npm run build and adjust README.md

This commit is contained in:
Mathias Schopmans
2025-03-14 17:00:30 +01:00
committed by Mathias Schopmans
parent 3efe7b5b61
commit 61eff6d4fb
2 changed files with 7 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ file like the following and adapt to your needs:
"version": "1.0.0",
"license": "MIT",
"scripts": {
"build": "techradar build",
"build": "techradar build --strict",
"serve": "techradar serve"
},
"dependencies": {
@@ -58,6 +58,8 @@ Run `npm install` to install the dependencies and run `npm run build` to create
This will also create a basic bootstrap of all required files, including the `config.json` and
the `about.md` if they do not exist yet.
Note: The `--strict` flag will break the build process if there are any errors in the markdown files. If you do not care about errors, you can remove the `--strict` flag.
### Step 2: Change logo and the favicon
Place your `logo.svg` and `favicon.ico` in the `public` folder next to the `package.json`.