/react-starter

Starter Frontend App using React, Typescript, WebPack and Karma/Mocha

Primary LanguageCSSMIT LicenseMIT

react-starter

Minimal JavaScript App featuring React, TypeScript, SCSS, WebPack and Karma+Mocha+Chai+ReactTestUtils

Based on:

Commitments:

  • No global dependencies. CLI utilities are included as devDependencies and can be used via npm run
  • Stylesheets and TypeScript sources share the same directory (Stylesheet files are put next to the associated TypeScript file)

Install

Fork or Download

then

cd react-starter
npm install

Run tests

npm test

or

npm run test:watch

Run dev server

npm start

then open http://localhost:8080/webpack-dev-server/ in your browser

Manage TypeScript Typings

npm run typings -- search <<somelibrary>>
npm run typings -- install dt~<<somelibrary>> --save --global