Skip to content

jt000/kaluma-typescript-demo

Repository files navigation

Kaluma Typescript Demo

This repo demonstrates how to utilize Typescript and Webpack for creating your KalumaJS projects.

Setup

Step 1: Make sure to follow the installation steps before attempting to create a typescript project. Once you've setup your Pico board with the Kaluma installation resume with below to build & deploy your project.

Step 2: Install Kaluma CLI

npm install -g @kaluma/cli

Step 3: Start your project by using this repository as a template. You'll find the "Use this template" button at the top of this page. Click this and "Create a new repository", clone it to your local machine, then run npm install to download all the necessary packages for building.

Alt text

Building your project

npm run build

This command will build your project to a minified bundle to out/rp2.js. This is also a sourcemap for future possibilities of debugging.

Deploy your project

npm run flash

Building and deploying your project can be achieved by running the flash npm command. Make sure you have your Pico connected.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published