drafting
Before contributing to chart.xkcd you'll need a few things:
- install npm
# install dependencies
npm i
# start examples (example/npm)
npm start
Then you can open localhost:1234
to see the examples, and you can start to edit the code. Thanks to parcel, the website will be auto updated when you make changes.
- docs: Documentation used to generate timqian.com/chart.xkcd
- examples: Examples showing how to use chart.xkcd. The npm example is also used for developing and debug features for now.
- src: where the meat locates
Notes for myself:
- before building chart.xkcd, shut down parcel server
npm run release
(TODO)