Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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')

About

A bunch of scripts to create a zero config for all our Nodejs Projects

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.