0.1.27 • Published 1 year 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
1 year ago
0.1.26
1 year ago
0.1.25
1 year ago
0.1.23
1 year ago
0.1.22
1 year ago
0.1.20
1 year ago
0.1.19
1 year ago
0.1.18
1 year ago
0.1.17
1 year ago
0.1.16
1 year ago
0.1.15
1 year ago
0.1.14
1 year ago
0.1.13
1 year ago
0.1.12
1 year ago
0.1.11
1 year ago
0.1.10
1 year ago
0.1.9
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago