twitter-client-ts
v3.0.0
Published
Twitter Stream API client
Downloads
3
Readme
Twitter Stream API Client
A Twitter Stream API implementation.
Usage
Comming soon.
NPM scripts
yarn t
: Run test suiteyarn start
: Runnpm run build
in watch modeyarn test:watch
: Run test suite in interactive watch modeyarn test:prod
: Run linting and generate coverageyarn build
: Generate bundles and typings, create docsyarn lint
: Lints codeyarn commit
: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)
Automatic releases
Prerequisites: you need to create/login accounts and add your project to:
Setup steps
From now on, you'll need to use yarn commit
, which is a convenient way to create conventional commits.
Automatic releases are possible thanks to semantic release, which publishes your code automatically on github and npm, plus generates automatically a changelog. This setup is highly influenced by Kent C. Dodds course on egghead.io
Git Hooks
There is already set a precommit
hook for formatting your code with Prettier :nail_care:
By default, there are two disabled git hooks. They're set up when you run the npm run semantic-release-prepare
script. They make sure:
- You follow a conventional commit message
- Your build is not going to fail in Travis (or your CI server), since it's runned locally before
git push
This makes more sense in combination with automatic releases