Skip to content

hello-jason/hellojason.net

Repository files navigation

Hello Jason Portfolio

Eleventy + TailwindCSS and based on the Eleventy Web Starter

Getting Started

Install dependencies

npm install

Working locally

Starts watch tasks to compile when changes detected

npm start

Creating a production build

Minify HTML, minify JS, inline and minify CSS.

npm run build

Deployment

Automated deploys when merging into master branch via GitHub Actions. This site is being hosted on GitHub Pages by exposing the gh-pages branch to a custom domain.


Credits

  • The project uses Eleventy as a static site generator
  • Default templating is Nunjucks (can be changed)
  • PostCSS set up to handle:
  • PurgeCSS to remove unused CSS (set up for TailwindCSS by default) in production
  • HTML Minifier to minify HTML in production
  • CSS inlined and minified in production
  • esbuild used to bundle and minify scripts
  • Document <head> crafted using htmlhead.dev
  • Luxon for formatting dates and times
  • NPM Run All to run multiple scripts