- Node.js (16+)
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
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
.
Run in project directory:
npm run type-check
Run in project directory:
npm run build
Build artifacts can be found in dist
.