🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

inferno-typescript-browserify-example

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inferno-typescript-browserify-example

A TypeScript Inferno JSX example building with browserify/tsify

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

tsify Inferno sample

A TypeScript Inferno JSX example building with browserify/tsify, including tree-shaking and minification. Also includes an example of development server with source maps and hot reload.

Based on inferno-typescript-example and tsify React sample.

How it works

Typescript is configured to transpile JSX within .tsx files to plain JS with createElement.

The JSX factory is defined locally at the top of each .tsx file.

Building

npm install
npm run build

browserify configuration:

the bundled output from browserify is minified with uglify-es: gzipped, this example fits in 13k bytes.

Running

npm start

Debugging

based on budo with source maps and hot reload.

npm run debug

License

MIT

Attributions

Keywords

inferno

FAQs

Package last updated on 21 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts