sourced

v4.0.0
Tiny framework for building models with the event sourcing pattern (events and snapshots). Now with Typescript and browser support.

build

tsc -p tsconfig.json && tsc -p tsconfig-cjs.json

docs

mocha -R doc -t 5000 > docs/docs.html

lint

eslint src __tests__

lint:fix

eslint --fix src __tests__

markdown

mocha -R markdown -t 5000 > docs/docs.md

test

DEBUG=sourced jest --config jest.json --coverage --verbose

test:watch

DEBUG=sourced jest --config jest.json --watch --coverage --verbose

prepublish

npm run build

semantic-release

semantic-release

prepare

husky install

Metadata

Downloads