@bondsports/read-package
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Bond Sports read package

An encpsulation for reading package json of a server

Installation

$ npm install --save-dev eslint @bondsports/read-package

or

$ yarn add --dev eslint @bondsports/read-package

Usage

Add the configs you want to the extend section of your eslintConfig of your package.json, or to your .eslintrc configuration file.
Note: make sure to add ts-base last.

 import { readPackageJsonSync } from '@bondsports/read-package';

export const SERVICE_NAME = readPackageJsonSync().name ?? 'unknown_service';

Readme

Keywords

none

Package Sidebar

Install

npm i @bondsports/read-package

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

3.78 kB

Total Files

6

Last publish

Collaborators

  • tetrobond
  • dan.spinosa--bondsports.co
  • gittyp
  • ido.naveh.bondsports
  • noam.benzeev
  • barak_matityahu
  • jbknickerbocker