Socket
Book a DemoInstallSign in
Socket

ks-comp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ks-comp

Starter kit for React, Webpack (with Hot Module Replacement), Typescript and Babel.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

React Webpack Typescript Starter

Minimal starter with hot module replacement (HMR) for rapid development.

  • React (16.x)
  • Webpack (4.x)
  • Typescript (3.x)
  • Hot Module Replacement (HMR) using React Hot Loader (4.x)
  • Babel (7.x)
  • SASS
  • Jest - Testing framework for React applications
  • Production build script
  • Image loading/minification using Image Webpack Loader
  • Typescript compiling using Awesome Typescript Loader (5.x)
  • Code quality (linting) for Typescript.

Installation

  • Clone/download repo
  • yarn install (or npm install for npm)

Usage

Development

yarn run start-dev

  • Build app continuously (HMR enabled)
  • App served @ http://localhost:8080

Production

yarn run start-prod

  • Build app once (HMR disabled)
  • App served @ http://localhost:3000

All commands

CommandDescription
yarn run start-devBuild app continuously (HMR enabled) and serve @ http://localhost:8080
yarn run start-prodBuild app once (HMR disabled) and serve @ http://localhost:3000
yarn run buildBuild app to /dist/
yarn run testRun tests
yarn run lintRun Typescript linter
yarn run start(alias of yarn run start-dev)

Note: replace yarn with npm if you use npm.

See also

Keywords

react

FAQs

Package last updated on 09 Nov 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.