twitch-repo-tools
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

twitch-repo-tools

A suite of sweet utility and linting scripts!

Using

Getting started

  • yarn add twitch-repo-tools --dev
  • npx twitch-repo-tools -h to see what options you have available

Utilizing new linting powers

After running the help command above, you can see what linting options you have available to add to your repo. You can add these to your package.json like so:

"scripts": {
  "lint:lockfile": "twitch-repo-tools --lint-lockfile"
}

Then you can invoke this by running yarn lint:lockfile in the command line. To invoke these without adding to your package.json, prefix that command with npx (npx twitch-repo-tools --lint-lockfile).

Utilizing new script utils

This package also includes some handy script utils that make writing repo-specific scripts even easier.

const { makeLogger } = require('twitch-repo-tools');

const log = makeLogger();
log.debug('We made it!');

Contributing

Releasing a new version

To release a new minor version (1.MINOR.0), run yarn release. This will bump the version, tag the release, and publish it to the internal NPM registry. See the package.json for this repo for more releasing scripts.

Readme

Keywords

none

Package Sidebar

Install

npm i twitch-repo-tools

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

38.6 kB

Total Files

22

Last publish

Collaborators

  • frgjdhskxjogu