Updated readme
This commit is contained in:
parent
abfcca84d6
commit
99790c0fac
15
README.md
15
README.md
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue