priorityqueue

v2.0.0
An implementation of Priority Queue
priority queue priority queue heap data structure

build:code

vite build

build:type

tsc -p tsconfig.build.json --emitDeclarationOnly --outDir lib

build

run-s clean build:*

perf:clean

rm -rf perf_results/*

perf:exec

ts-node src/performance/index.ts

perf

run-s perf:clean perf:exec

lint

eslint "src/**"

typecheck

tsc -p tsconfig.json --noEmit

prepublishOnly

run-s clean build

clean

rm -rf lib/*

test

vitest

test:ci

vitest run

changelog

conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 0

preversion

run-s ci build

version

run-s changelog && git add CHANGELOG.md

ci

run-s lint typecheck test:ci

postci

codecov

documentation

typedoc ./src/index.ts ./src/BinaryHeap.ts ./src/PairingHeap.ts ./src/SkewHeap.ts && touch docs/.nojekyll

postpublish

yarn documentation && gh-pages -d docs --dotfiles

prepare

git config --local core.hooksPath .githooks && echo 'githooks installed' || echo 'githooks install failed'
npm i priorityqueue

Metadata

  • MIT
  • Whatever
  • berlysia
  • released 11/4/2022

Downloads

Maintainers