mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 06:14:21 +01:00
format everything with prettier
This commit is contained in:
24
README.md
24
README.md
@@ -9,9 +9,31 @@ pnpm install
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
### Env
|
||||
|
||||
The easiest way to get start with development is to create a file called `.env.local` and copy the contents of `.env.example` into it. This is basically identical to the env that `signet-app.mutinywallet.com` uses.
|
||||
|
||||
### Testing
|
||||
|
||||
We have a couple Playwright e2e tests in the e2e folder. You can run these with:
|
||||
|
||||
```
|
||||
just test
|
||||
```
|
||||
|
||||
Or get a visual look into what's happening:
|
||||
|
||||
```
|
||||
just test-ui
|
||||
```
|
||||
|
||||
### Formatting
|
||||
|
||||
Hopefully your editor picks up on the `.prettirrc` file and auto formats accordingly. If you want to format everything in the project run `pnpm run format`.
|
||||
|
||||
### Local
|
||||
|
||||
To make local development easier with a latest local version of [the node manager](https://github.com/MutinyWallet/mutiny-node), you may want to `pnpm link` it.
|
||||
If you want to develop against a local version of [the node manager](https://github.com/MutinyWallet/mutiny-node), you may want to `pnpm link` it.
|
||||
|
||||
Due to how [Vite's dev server works](https://vitejs.dev/config/server-options.html#server-fs-allow), the linked `mutiny-node` project folder should be a sibling of this `mutiny-web` folder. Alternatively you can change the allow path in `vite.config.ts`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user