0.1.27 • Published 9 months ago

@lovebowls/leagueelements v0.1.27

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@lovebowls/leagueElements

A modern TypeScript package for managing league elements in LoveBowls.

Installation

npm install @lovebowls/leagueElements

Features

  • Modern TypeScript implementation
  • ESM and CommonJS support
  • Tree-shaking friendly
  • Comprehensive type definitions
  • Built-in testing with Jest
  • Full documentation with TypeDoc

Usage

import { BaseLeagueElement } from '@lovebowls/leagueElements';

// Create a new league element
const element = new BaseLeagueElement({
  type: 'match',
  // Add additional properties as needed
});

// Update element data
element.update({
  type: 'updated-match'
});

Development

Prerequisites

  • Node.js >= 18
  • npm >= 8

Setup

  1. Clone the repository
  2. Install dependencies:
    npm install

Available Scripts

  • npm run build - Build the package
  • npm run test - Run tests
  • npm run docs - Generate documentation
  • npm run lint - Run ESLint
  • npm run format - Format code with Prettier

Building

The package builds to both ESM and CommonJS formats:

  • ESM: dist/esm/
  • CommonJS: dist/cjs/
  • Type definitions: dist/types/

License

MIT

0.1.27

9 months ago

0.1.26

9 months ago

0.1.25

10 months ago

0.1.23

10 months ago

0.1.22

10 months ago

0.1.20

10 months ago

0.1.19

10 months ago

0.1.18

10 months ago

0.1.17

10 months ago

0.1.16

10 months ago

0.1.15

10 months ago

0.1.14

10 months ago

0.1.13

10 months ago

0.1.12

10 months ago

0.1.11

10 months ago

0.1.10

10 months ago

0.1.9

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago