Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@kudobuzz/kbscripts

0.0.14 • Public • Published

kbscripts 🛠

CLI toolbox for common scripts across kudobuzz


# Problem

We have quite a number of js projects and we were finding it difficult updating tooling across these projects

Solution

A common configuration library

Table of Contents

Installation

This module is distributed via [npm][npm] which is bundled with [node][node] and should be installed as one of your project's devDependencies:

npm install --save-dev @kudobuzz/kbscripts

Usage

Install my running npm install @kudobuzz/kbscripts

Scripts

  1. kbscripts lint [Specific files can go here and args for eslint]

    Lints all js files in the target project.

  2. kbscripts format [Specific files can go here and other args to prettier]
    Format all js,md,ts,css files in the target project.

  3. kbscripts test [Specific files can go here and other args to mocha]
    Runs mocha on all *.test.js files in the target project. Tests are run recursively.

Using eslint configs to allow ides to use your configs

  1. create .eslintrc.js
  2. exports config from kbscripts
module.exports = require('./node_modules/@kudobuzz/kbscripts/config/eslintrc.js')

Keywords

Install

npm i @kudobuzz/kbscripts

DownloadsWeekly Downloads

73

Version

0.0.14

License

ISC

Unpacked Size

16.3 kB

Total Files

21

Last publish

Collaborators

  • avatar