react-ts-runtime
TypeScript icon, indicating that this package has built-in type declarations

0.2.16 • Public • Published

React TypeScript Runtime

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 react-ts-runtime --save-dev

Create an src/index.tsx

Create an src/index.html

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

{
    "start": "react-ts-runtime run",
    "build": "react-ts-runtime 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

/react-ts-runtime/

    Package Sidebar

    Install

    npm i react-ts-runtime

    Weekly Downloads

    1

    Version

    0.2.16

    License

    MIT

    Unpacked Size

    35.3 kB

    Total Files

    22

    Last publish

    Collaborators

    • istvan