Skip to content

Sonolus/sonolus.js-template-js-eslint-prettier

Repository files navigation

Sonolus.js Template (JS + ESLint + Prettier)

Prerequisites

Recommended Setup

Get Started

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

npx degit Sonolus/sonolus.js-template-js-eslint-prettier 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.

Format code

Run in project directory:

npm run format

Lint

Run in project directory:

npm run lint

Fix Linting Issues

Run in project directory:

npm run lint-fix

Build

Run in project directory:

npm run build

Build artifacts can be found in dist.

About

Sonolus.js Template (JS + ESLint + Prettier)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published