codekingpro/portable-devtools
115k
1## Building and testing
2
3```
4yarn
5yarn test
6```
7
8To run tests in a *browser* (for instance to test compatibility with Firefox, with Safari, or with old browser versions), run `yarn karma start`, then open http://localhost:9876/ in the browser you want to test in. Results of the test run will appear in the terminal where `yarn karma start` is running.
9
10If you notice any problems, please report them to the GitHub issue tracker at
11[http://github.com/kpdecker/jsdiff/issues](http://github.com/kpdecker/jsdiff/issues).
12
13## Releasing
14
15Run a test in Firefox via the procedure above before releasing.
16
17A full release may be completed by first updating the `"version"` property in package.json, then running the following:
18
19```
20yarn clean
21yarn build
22yarn publish
23```
24
25After releasing, remember to:
26* commit the `package.json` change and push it to GitHub
27* create a new version tag on GitHub
28* update `diff.js` on the `gh-pages` branch to the latest built version from the `dist/` folder.
29 