Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 956 Bytes

README.md

File metadata and controls

67 lines (42 loc) · 956 Bytes

Sonolus.js Template (TS)

Prerequisites

Recommended Setup

Get Started

To get this template, run (change my-project to desired name):

npx degit Sonolus/sonolus.js-template-ts my-project

To install dependencies, run in project directory:

npm i

Start Dev Server

Run in project directory:

npm run dev:play
npm run dev:watch
npm run dev:preview
npm run dev:tutorial

A dev server will be up and running. You can connect to it using Sonolus app and play test the level.

Changes made to the project will be automatically detected and trigger rebuild.

Temporary files and extraction artifacts can be found in .dev.

Type Check

Run in project directory:

npm run type-check

Build

Run in project directory:

npm run build

Build artifacts can be found in dist.