Skip to content
Source code for the hughx website.
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
static
.eslintrc.js
.gitattributes
.gitignore
.prettierignore
.prettierrc
LICENSE
README.md
dev-notes.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package.json
png2webp.js
svg2png.js
yarn.lock

README.md

logo

hughx-site

Source code for the hughx website.

npm/yarn CLI

  • build: Build a production bundle.
  • develop: Clear the Gatsby cache and run a development server on localhost Port 8000.
  • start: Alias for develop.
  • serve: Run a development server against a previously-built production bundle.
  • svg2png: Convert all SVGs into PNGs at various DPI targets (1x = 250 pixels wide, 2x = 500 pixels wide, 3x = 750 pixels wide). Requires Inkscape.
  • png2webp: Convert all PNGs generated by svg2png to WebP to achieve smaller file sizes for supporting browsers.
  • build:images: Run svg2png followed by png2webp.
You can’t perform that action at this time.