Update Prettier scripts and supported files (#402)

This commit is contained in:
Lipis 2020-01-16 23:50:02 +02:00 committed by GitHub
parent 03e4a70be2
commit 86eadf379d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 202 additions and 128 deletions

View file

@ -32,23 +32,22 @@ Go to https://www.excalidraw.com to start sketching
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Clone the repo
#### Clone the repo
```bash
git clone https://github.com/excalidraw/excalidraw.git
```
Install all the dependencies
#### Commands
```bash
npm install
```
Run the project
```bash
npm run start
```
| Command | Description |
| ------------------- | --------------------------------- |
| `npm install` | Install the dependencies |
| `npm run start` | Run the project |
| `npm run fix` | Reformat all files with Prettier |
| `npm run test:code` | Test for formatting with Prettier |
| `npm run test:app` | Test the app |
| `npm run test` | Run all tests |
## Contributing