A minimalistic boilerplate for creating React apps with TypeScript and Bootstrap. The project also uses Sass for preprocessing CSS and Webpack to bundle the script.
In this mode Webpack will run with -w
flag. Meaning it will watch for file changes.
npm run build:dev
npm run build:prod
Use the following command to run the app
npm start
The app will be launched on localhost
's port 9000
using the http-server module.
Testing is accomplished using Jest framework.
Unit test files must be placed inside /spec
directory. The file extensions must be either .spec.ts
, or .spec.tsx
(components). See jest.config.js
for more info.
Use the following commands to run the tests
npm test
npm run test:coverage
npm run test:tdd
or
npm run test:watch
npm test App
npm run test:tdd App