- Clone this repo to local
npm install
npm run dev
npm run dev
: start the webpack dev server for dev purpose, auto refresh on code changes. Configured bywebpack.dev.js
npm run build
: build dist for gh-pages deploy and cpanel deploy. Configured bywebpack.prod.js
npm run publish
: deploy to gh-pages, rmb to build firstnpm run zip
: zip dist bundles
- webpack dev server serves at
src/public
- assets are hosted in
src/public/assets
, use relative path for static assets requests
- GSAP - Animating SVG, used currently in routes maps, tgt with ScrollMagic to bind animation timeline to user scroll events.
- ScrollMagic - Controlling scroll events related interactions, used currently in progress bar, routes map, viewport position detect, seizure map autoplay controll
- D3.js - Creating SVG based visuals, used in the seizure map