File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ cd ~/MagicMirror/modules
2323git clone https://github.com/miccl/MMM-Random-local-image.git
2424cd MMM-Random-local-image
2525npm ci
26- npm run build
2726```
2827
28+ If post-scripts are disabled, run ` npm run build ` afterward.
29+
2930Finally, configure the module in the config.js file (instructions below).
3031
3132## Updating the module
3940npm run build
4041```
4142
43+ If post-scripts are disabled, run ` npm run build ` afterward.
44+
4245Check the [ Changelog] ( CHANGELOG.md ) for all updates.
4346
4447## Using the module
Original file line number Diff line number Diff line change 99 "lint" : " biome check . --write" ,
1010 "lint:check" : " biome check ." ,
1111 "format" : " biome check . --write" ,
12- "build" : " rollup -c" ,
12+ "postinstall" : " npm run build" ,
13+ "build" : " rollup -c" ,
1314 "build:dev" : " rollup -c --sourcemap=inline" ,
1415 "build:watch" : " npm run dev -- --watch" ,
1516 "test" : " vitest" ,
You can’t perform that action at this time.
0 commit comments