Fork, then clone the repo:
git clone [email protected]:your-username/d3-save-svg.git
Set up your machine:
npm install
If the tests pass, then the library should build in the /build
folder.
Make your change. Add tests for your change. Make the tests pass:
npm test
Push to your fork and submit a pull request to the develop branch.
Testing is via Tape and jsdom. Right now the tests are pretty rudimentary. Also index.html
serves as a good check on whether things are working.
Development is done using the git-flow workflow. Please merge changes into the develop
branch.