baldrick-dev-ts
TypeScript icon, indicating that this package has built-in type declarations

0.17.0 • Public • Published

Baldrick-dev-ts

npm Build status npm bundle size

npm type definitions node-current NPM

CLI for the package development of Typescript library in ESM format.

The main motivation is to reduce the amount of dev dependencies that needs to be installed and configured individually.

  • Typescript the strongly typed alternative to Javascript.

  • Reduced configuration the CLI should be ready go without further configuration.

  • ESLint under the hood for linting.

  • Jest under the hood for testing (very experimental)

  • ES2021 or later.

Usage

Statically analyzes the default source folder to quickly find problems:

baldrick lint check

Fix problems in the default source folder:

baldrick lint fix

Run unit tests:

baldrick test check

Update snapshots for unit test:

baldrick test fix

Acknowledgements

baldrick-dev-ts was initially created as a fork of the brilliant tsdx project. Eventually, the code has been massively refactored to match the new requirements, and very little remain of the tsdx starting point, except our gratitude to this initial project.

Documentation and links

Installation

This package is ESM only.

yarn global add baldrick-dev-ts
baldrick --help

Or alternatively run it:

npx baldrick-dev-ts --help

If you want to tun the latest version from github. Mostly useful for dev:

git clone git@github.com:flarebyte/baldrick-dev-ts.git
yarn global add `pwd`

Readme

Keywords

Package Sidebar

Install

npm i baldrick-dev-ts

Weekly Downloads

0

Version

0.17.0

License

MIT

Unpacked Size

154 kB

Total Files

87

Last publish

Collaborators

  • olih