Updated readme

This commit is contained in:
jos 2017-12-26 21:14:33 +01:00
parent abfcca84d6
commit 99790c0fac
1 changed files with 3 additions and 12 deletions

View File

@ -143,28 +143,19 @@ jsoneditor:
This will generate the file `./dist/jsoneditor.js` and This will generate the file `./dist/jsoneditor.js` and
`./dist/jsoneditor-minimalist.js` and corresponding source maps. `./dist/jsoneditor-minimalist.js` and corresponding source maps.
- For development, start a develop server which automatically updates the - For development, start a develop server which automatically reloads
library when a source file has changed: when a source file has changed:
``` ```
npm start npm start
``` ```
This will update `./dist/jsoneditor.js` on every change in the source code, - Run unit tests (Jest):
but it will **NOT** update the minimalist version.
- Run unit tests:
``` ```
npm test npm test
``` ```
or to watch for changes and re-run tests automatically:
```
npm run watch:test
```
## License ## License