/sergsoares.github.com

Yet, another SSG (Static site generator)

Primary LanguageJavaScript

Yet, Another SSG

To start my blog and learn a little more programming topics, start this static site generator.

Until now only simple commands.

To Build files inside /posts

$ npm run build

To develop i start using Tape, but after a lot of packages need be installed to work change to Jest.

$ npm run test 

To test templates inside project can be used NPM scripts to live-reload and build.

$ npm run dev

Learn Achievements

  • Tape basic tests
  • Babel setup
  • Flow setup
  • Use of Generic with a High Order Function

Extremely inspired on, I took advantage to trainning TDD in JS and start a project from zero:

Let's Code It: Static Site Generator

Github Repository - sequoia.github.com

Npm Script to Live Reload