@charge/sdk

Build, run and test tools for React projects written in TypeScript.

Usage no npm install needed!

<script type="module">
  import chargeSdk from 'https://cdn.skypack.dev/@charge/sdk';
</script>

README

Charge SDK

React TS Runtime is a package that contains all the tooling you need to build your React project written in TypeScript.

Setup

mkdir yourproject
cd yourproject
npm init -y
npm install @charge/sdk --save-dev

Create an src/index.tsx

Create an src/index.html

Set the scripts section to the following in your package.json

{
    "start": "@charge/sdk run",
    "build": "@charge/sdk build",
}

Run npm start to start the project up in development mode.

Run npm run build to build the project.

Demos

Single page React application

Server side rendering