Skip to content

jjangga0214/ts-boilerplate

Repository files navigation

ts-boilerplate

Example of typescript boilerplate.

license test code style:airbnb code style:prettier .nvmrc yarn:required Conventional Commits Commitizen friendly pr welcome

codecov FOSSA Status

Note

Please read NOTE.md, before getting started.

Getting started

Install dependencies.

yarn install

On development, run

yarn dev # restarts a process when file change is detected.
# or
yarn dev:build # same as above
# or
yarn dev:no-respawn # run once without generating compiled files.

On productions, run

yarn build # compiles ts to js
yarn start # runs compiled js

Yarn scripts

yarn test # runs all tests (runs `jest` against "*.test.js")
yarn test:unit # runs unit tests
yarn test:integration # runs integration tests
yarn test:coverage # runs all tests and measures coverage
yarn test:unit:coverage # runs unit tests and measures coverage
yarn test:integration:coverage # runs integration tests and measures coverage

yarn lint # lint
yarn format # format(fix)

yarn release # release using standard-version

License

MIT License. Copyright © 2019, @jjangga0214 <[email protected]>

FOSSA Status

About

boilerplate of typescript node project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published