build: cleanup scripts usage with pnpm
[e-mobility-charging-stations-simulator.git] / ui / web / README.md
index 5ef875ec4a27cffd0ad52cad4931f587d1837e49..9bf600755af12a02d14923ef2aeddb990c126341 100644 (file)
@@ -4,6 +4,7 @@
 
 ```shell
 corepack enable
+corepack prepare pnpm@latest --activate
 pnpm install
 ```
 
@@ -35,7 +36,7 @@ pnpm start
 #### Compiles and run for development
 
 ```shell
-pnpm run serve
+pnpm serve
 ```
 
 #### Try it out
@@ -50,11 +51,11 @@ For both options above you can then follow the link displayed in the terminal at
 ### Compiles and minifies for production
 
 ```shell
-pnpm run build
+pnpm build
 ```
 
 ### Lints files
 
 ```shell
-pnpm run lint
+pnpm lint
 ```