projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure that canvasx and canvasy properties are initialized from the start (#896)
[dygraphs.git]
/
DEVELOP.md
diff --git
a/DEVELOP.md
b/DEVELOP.md
index
7436326
..
6eb43fb
100644
(file)
--- a/
DEVELOP.md
+++ b/
DEVELOP.md
@@
-6,6
+6,10
@@
This is a step-by-step guide explaining how to do it.
### How-to
### How-to
+To install dependencies, run
+
+ npm install
+
To build dygraphs, run
npm run build
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.
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.
### 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.