X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=DEVELOP.md;h=6eb43fb199bb5d195fcb751ef383295e2d415935;hb=59ee387ba6d5113ceedba2b16b1c0c53ddfa072c;hp=74363260d73cc1315465a2383498111ef01d38d7;hpb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;p=dygraphs.git diff --git a/DEVELOP.md b/DEVELOP.md index 7436326..6eb43fb 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -6,6 +6,10 @@ This is a step-by-step guide explaining how to do it. ### How-to +To install dependencies, run + + npm install + To build dygraphs, run npm run build @@ -28,6 +32,12 @@ To iterate on a unit test, run the `watch` command above and open in your browser. You can use the Mocha UI to run just a single test or suite. Or you can change `it` to `it.only` to do run just one test in code. +To run a single test from the command line, you can use: + + npm run test -- --grep highlight-series-background + +(Note the extra `--`.) + ### dygraphs style When making a change, please try to follow the style of the existing dygraphs code. This will make the review process go much more smoothly.