kevinchar93 / nodejs-sample-justfile-build-system

A sample Node.js project using Just as the build system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodejs-sample-justfile-build-system

This project's aim is to illustrate how to use a Justfile as a build system for a Node.js project, in this case the project is a Next.JS app.

just is a handy way to save and run project-specific commands.

You can install just by checking out the installation instructions.

The Justfile in this project has 6 recipes:

build               # build application for production
default             # run the "dev" recipe
deps                # install project dependencies
dev install='false' # start server in dev mode
image               # build docker image for application
run-image           # run application in a docker image

You can list them by running just --list in this directory.

You can run them with just <recipe>.

The Justfile is located here, and annotated version of the same file is located here.

About

A sample Node.js project using Just as the build system.

License:GNU General Public License v3.0


Languages

Language:Just 45.0%Language:TypeScript 25.4%Language:CSS 20.8%Language:Dockerfile 7.6%Language:JavaScript 1.3%