Build a simple blog
Assuming that you have node and npm installed and available, create a project folder with a valid package.json.
Install the necessary dependencies:
Create a file called build.js at the root of your project folder, containing the following:
Create a folder called src at the root of your project folder. Create index.html in src, containing the following:
Running node build.js will now build all files in src. After running this command, you'll have index.html in your build folder, with the following contents: