Minimal JavaScript App featuring React, TypeScript, SCSS, WebPack and Karma+Mocha+Chai+ReactTestUtils
Based on:
- TypeScript Handbook
- How to setup testing using TypeScript, Mocha, Karma and Webpack
- React Documentation
- Webpack Documentation
- Taiga Boilerplate
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)
then
cd react-starter
npm install
npm test
or
npm run test:watch
npm start
then open http://localhost:8080/webpack-dev-server/
in your browser
npm run typings -- search <<somelibrary>>
npm run typings -- install dt~<<somelibrary>> --save --global