Update README.md

Simplified build instructions i
This commit is contained in:
Torkel Ödegaard 2018-01-16 20:14:53 +01:00 committed by GitHub
parent 6edc945e85
commit 94b0c79631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,23 +45,17 @@ For this you need nodejs (v.6+).
```bash
npm install -g yarn
yarn install --pure-lockfile
npm run build
```
To rebuild frontend assets (typescript, sass etc) as you change them start the watcher via.
```bash
npm run watch
```
Run tests
Run tests
```bash
npm run test
npm run jest
```
Run tests in watch mode
Run karma tests
```bash
npm run watch-test
npm run karma
```
### Recompile backend on source change