This is a small sample repository that configures:
.css
files.It is based on Microsoft’s TypeScript-Babel-Starter with ideas for Webpack based on sweetcoco’s webpack-babel-boilerplate.
You can look into those projects to learn how to add extra configuration to this repository.
It is ready for deploying in Heroku as a Node app.
npm run build
npm run type-check
And to run in --watch
mode:
npm run type-check:watch
This includes HMR (Hot Mode Reload).
npm run serve-dev
npm run build:webpack && npm run serve-prod
npm run test
You can also check coverage with:
npm run testWithCoverage
To detect and attempt to fix lint issues:
npm run tslint-fix
To auto-format all files:
npm run prettier-fix
To do both together:
npm run fix