This is just a opinionated personal boilerplate for my Typescript projects. Feel free to use it for your own projects, modify it or open an issue if you feel like there is something wrong.
- Package management via
yarn
, but you can opt out and start usingnpm
if you wish - Consistent coding styles accross editors via
.editorconfig
- Linting via
tslint
withairbnb's
style guide - Small optional
.prettierrc
config if you are using prettier - Compilation to
es5
module withd.ts
files - Start your application locally with
ts-node
- Tests via
jest
- Continous integration template for use with
travis
- Documentation via
typedoc
into/docs
folder, ready to be published toGitHub pages
git clone https://github.com/alexanderwe/plain-typescript-boilerplate
cd plain-typescript-boilerplate
yarn install
style
- use Prettier to style all your source filesstart
- runs yoursrc/index.ts
file withts-node
build
- builds your Typescript projectwatch
- uses thewatch
mode of tsc to constantly build your project onsrc/*ts
changestest
- runs your tests viajest
and creates a coverage reportdoc
- creates documentation of your code
Have fun while coding in Typescript ✌️