0.1.27 • Published 9 months ago
@lovebowls/leagueelements v0.1.27
@lovebowls/leagueElements
A modern TypeScript package for managing league elements in LoveBowls.
Installation
npm install @lovebowls/leagueElementsFeatures
- 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
- Clone the repository
- Install dependencies:
npm install
Available Scripts
npm run build- Build the packagenpm run test- Run testsnpm run docs- Generate documentationnpm run lint- Run ESLintnpm 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