@hookstate/core

v1.6.0
The flexible, fast and extendable state management for React that is based on hooks and state usage tracking.

start

rollup -c -w

build

rollup -c

build:watch

yarn run start

lint

tslint --project .

clean

rimraf dist

clean-deps

rimraf node_modules

test

cross-env CI=1 react-scripts test --env=jsdom

test:watch

react-scripts test --env=jsdom --watch

check-updates

ncu

apply-updates

ncu -u

build:docs

typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --tsconfig ./tsconfig.typedoc.json --exclude "dist/**.js" --gitRevision master --includeDeclarations --excludeExternals --excludeNotExported --categorizeByGroup false --readme none --hideGenerator --mode file && concat-md --decrease-title-levels --dir-name-as-title docs > dist/typedoc.md && rimraf docs && replace '></a>' '/>' dist/typedoc.md && replace 'Ƭ [*][*]([A-Za-z0-9]+)[*][*]: [*](.*)[*]' 'Ƭ **$1**: *`$2`*' dist/typedoc.md && replace '# @hookstate/core' '' dist/typedoc.md && replace '<a name="readmemd"/>' ' --- id: typedoc-hookstate-core title: API @hookstate/core ---' dist/typedoc.md && replace ' (---)' '$1' dist/typedoc.md && mv dist/typedoc.md hookstate.js.org/docs2/docs/typedoc-hookstate-core.mdx

prepare

yarn build
npm i @hookstate/[email protected]

Metadata

  • MIT
  • >=8
  • Andrey Konstantinov
  • released 3/2/2020

Downloads

Maintainers