mobx

v4.0.1
Simple, scalable state management.
mobx mobservable observable react-component react reactjs reactive model frp and 4 more...

lint

tslint -c tslint.json src/*.ts src/types/*.ts src/api/*.ts src/core/*.ts src/utils/*.ts

size

size-limit 20KB lib/mobx.js

test

yarn quick-build && yarn jest

watch

yarn jest --watch

prettier

prettier --write --print-width 100 --tab-width 4 --no-semi "**/*.js" "**/*.jsx" "**/*.tsx" "**/*.ts"

test:all

yarn small-build && yarn jest -i && yarn test:flow && yarn test:mixed-versions

precommit

lint-staged

test:flow

flow check

_prepublish

npm run small-build

quick-build

tsc --pretty

small-build

node scripts/build.js

test:travis

yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size

test:webpack

node scripts/webpack-regression-tests.js

test:performance

npm run small-build && PERSIST=true time node --expose-gc test/perf/index.js

test:mixed-versions

jest --testRegex mixed-versions

Metadata

  • MIT
  • Whatever
  • Michel Weststrate
  • released 3/13/2018

Downloads