Some examples of using the d3 JavaScript library.
Install dependencies:
pip install -r requirements.txt
npm install -g webpack
Install local JS modules:
npm install
invoke serve
- Launch HTTP server that auto-reloads pages when it detects an editinvoke build
- Generate all files and copy them into the build directoryinvoke clean
- Delete everything inside the build directoryinvoke buildjs
- Only generate the JS files, using webpackinvoke watchjs
- Start a process that watches .es6 files and compiles them, with debugging supportinvoke publish
- Changes in the build directory are committed and pushed to the gh-pages branchinvoke new_page
- Add a new page to the site directory (also adds new entry to webpack config file)