KScript docs
EN

Projects and kscript.json

Introduction

A project is a folder with a kscript.json in it. The file tells every kscript command about the project: which scripts and pages it has, how to serve and test it, and how its code is written. Inside a project, kscript make writes new files where they belong, already wired together.

To get started, make a project and serve it:

Shell
kscript make project my-app   # a web app, a desktop app, an API and tests
cd my-app
kscript serve                 # then open http://localhost:8080