Skip to content

Latest commit

 

History

History

browser

Browser

This project is a direct descendant of Sabaki. We are not affiliated with the Sabaki project.

Thank you to the Sabaki author and community for making their project available under MIT license.

Run the frontend locally

npm install
npm run build
npm run start

Watch changes during development

You can auto-build as files change, but for now, you'll need to run a separate web server to host the build.

npm run watch

Then (something like):

python3 -m http.server

Deployment

Deploy from this directory. npm build artifacts will be deposited to this directory.

Formatting the codebase

Install prettier to format the code for the browser:

prettier --write .

We recommend installing the prettier VSCode extension and configuring it as follows:

    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    }