Skip to content

Infotition/tsi

Repository files navigation


infotition logo

TSI

Infotition's zero-config CLI for TypeScript node package development.

build state license

Features

  • Bundles your code with Rollup for development or production builds.
  • Supports treeshaking and minification/compression.
  • Live reload feature
  • Typescript with sass support
  • Jest test runner setup
  • ESLint with Prettier setup
  • Zero-config, single dependency

Quick Start

npx @infotition/tsi create --template basic mypackage
cd mypackage
yarn dev

That's all you need to do. You don't need to worry about setting up TypeScript or Rollup or Jest or other annoying tasks. Just start editing src/index.ts.

Scripts

  • yarn dev - Starts the development build and rebuilds after src files changes.
  • yarn test - Starts the jest test runner.
  • yarn build - Bundles the source files into a production file.
  • yarn lint - Starts to lint the source files.
  • yarn deploy - Creates a production version of the package and publish's it to npm.
  • yarn clean - Deletes the lib, package and if wanted the node_module folders.

Contribution

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. For other related questions/support please use the official Infotition Discord server.

License

This repo is covered under the MIT License, see the LICENSE file for more information.