darekkay-scripts

My shared project scripts

MIT License

Downloads
125
Stars
5
Committers
1

@darekkay/scripts

A CLI that abstracts away all configurations for my projects (linting, testing, building, ...). Inspired by react-scripts and kcd-scripts.

Usage

dks [node arguments] [script] [script arguments]

To output debug information, set DEBUG env variable:

cross-env DEBUG=true dks [script]

Available scripts

  • dks ci: Run lint, test and typecheck.
  • dks format: Run Prettier.
  • dks lint: Run ESlint with --fix and --cache.
  • dks test: Run Jest.
  • dks typecheck: Run TypeScript compiler with --noEmit.

Additional commands

Some additional utilities are included:

License

This project and its contents are open source under the MIT license.