KScript ドキュメント
JA

言語

英語から自動翻訳されています。原文は英語です。

プロジェクトと kscript.json

はじめに

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:

シェル
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