• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React / Redux / Typescript / Webpack - Starter (optimized for performance)

React / Redux / Typescript / Webpack - Starter

Powered by Webpack optimized for performance

Recently updated all dependencies!

Features:

  • No babel!

  • Ultra performance

  • Webpack 2 (simple one-file config, separate vendor bundle, dashboard)

  • Setup for ts-loader and awesome-typescript-loader for comparison (check npm run dev or npm run dev:awesome)

  • React Hot Loader

  • Dependency graph of the entire application! 🌟 NEW


Installation

  • project optimized to use yarn
// Clone repo
git clone https://github.com/piotrwitek/react-redux-typescript-webpack-starter

// Install dependencies
npm install

// Run development server with react hot-reload
npm run dev (ts-loader)

CLI Commands

- Development

npm run dev - start dev-server with hot-reload (ts-loader)

npm run dev:dashboard - start dev-server with webpack-dashboard

npm run dev:awesome - start dev-server with awesome-typescript-loader

- Type checking

npm run tsc - entire project type-check

npm run tsc:watch - fast incremental type-checking in watch mode

- Production Bundling (dist/ folder)

npm run clean - clean dist

npm run build - build dist bundle

- Utility & Git Hooks

npm run reinstall - reinstall all dependencies (useful when switching branch) (note: use reinstall:win on Windows)

npm run lint - run linter (tslint)

npm run test - run tests with jest runner

npm run test:update - update jest snapshots

npm run precommit - pre commit git hook - linter

npm run prepush - pre push git hook - linter, tests and check types

- Deployment

npm run deploy - commit and push all changes found in /dist folder to "gh-pages" branch


The MIT License (MIT)

Copyright (c) 2016 Piotr Witek [email protected] (http://piotrwitek.github.io/)

More Repositories

1

react-redux-typescript-guide

The complete guide to static typing in "React & Redux" apps using TypeScript
TypeScript
13,343
star
2

utility-types

Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).
TypeScript
5,453
star
3

typesafe-actions

Typesafe utilities for "action-creators" in Redux / Flux Architecture
TypeScript
2,411
star
4

react-redux-typescript-realworld-app

RealWorld App implementation based on "react-redux-typescript-guide"
TypeScript
251
star
5

react-redux-typescript-jspm-starter

Futuristic, bundle-free, development environment for building Component-Driven SPA with React, Redux and TypeScript - powered by JSPM (SystemJS & Rollup with tree-shaking)
TypeScript
231
star
6

ts-mocha

Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity
JavaScript
190
star
7

react-redux-typescript-scripts

Shared dev-tools configuration files based on "react-redux-typescript-guide"
JavaScript
57
star
8

preact-redux-typescript-rollup-starter

Smallest "React-like" + Redux starter EVER - 13KB min&gzip
TypeScript
25
star
9

training-management-tool

Training Management Tool - Dev Workshop Project
JavaScript
17
star
10

jspm-hmr

NodeJS Dev-Server with Hot-Reload for JSPM / SystemJS Loader
TypeScript
13
star
11

react-dnd-dropzone

Image Dropzone with Drag & Drop Management Panel - React Component
JavaScript
4
star
12

piotrwitek.github.io

Piotr Witek - Portfolio
CSS
2
star
13

tslint-react-redux-typescript-guide

TSLint recommended config based on react-redux-typescript-guide
TypeScript
2
star
14

protobufts

TypeScript models generator from Protocol Buffer definitions for Node.js gRPC
JavaScript
1
star
15

nextjs-ethereum

Playing with Ethereum network in NextJS
1
star
16

piotrwitek

1
star
17

functional-programming-in-typescript

Just playing around with Functional Programming
TypeScript
1
star