typed-signals

v3.0.0
A type checked signal library for TypeScript (and JavaScript)
TypeScript Signal Event Publish Subscribe

build

rimraf dist && tsc -p tsconfig-build.json

coveralls

cat ./coverage/lcov.info | coveralls

doc

rimraf docs && typedoc --excludePrivate --out docs --exclude "src/*.spec.ts" src && copyfiles -a -f "doc-assets/*" docs

lint

npm run lint:style && npm run lint:es && npm run lint:package

lint:es

eslint "{src,test}/**/*.{ts,tsx}" --ext ".ts,.tsx" --ignore-path .prettierignore

lint:es:fix

npm run lint:es -- --fix

lint:fix

npm run lint:style:fix && npm run lint:es:fix && npm run lint:package:fix

lint:package

sort-package-json --check

lint:package:fix

sort-package-json

lint:style

npm run lint:style:base -- --check

lint:style:base

prettier "{src,test}/**/*.{ts,tsx,js,json}" "./*.{ts,tsx,js,json}"

lint:style:fix

npm run lint:style:base -- --write

test

jest
npm i typed-signals

Metadata

  • CC0-1.0
  • Whatever
  • Santo Pfingsten
  • released 5/26/2024

Downloads

Maintainers