@fairfx/fuji

v4.0.1-rc.6
Fuji is FairFX's design system and React component library

format

prettier --write 'src/**/*'

test

yarn test:js && yarn test:visualregression

test:js

cross-env NODE_ENV=test jest --runInBand

test:visualregression

chromatic test --storybook-addon --app-code="pl6wjce1lz" --exit-zero-on-changes

test:watch

cross-env NODE_ENV=test jest --watch

test:coverage

cross-env NODE_ENV=test jest --coverage

prelint

yarn format

lint

yarn lint:js && yarn lint:css

lint:js

tslint "./src/**/*.{ts,tsx}"

lint:fix

tslint --fix "./src/**/*.{ts,tsx}"

lint:css

stylelint './src/**/*.{ts,tsx}'

storybook

start-storybook -p 9001 -c ./.storybook

storybook:build

build-storybook -c ./.storybook -o build/sandbox

clean

rimraf dist

type-check

tsc --noEmit

type-check:watch

yarn type-check -- --watch

prebuild

yarn clean

build

yarn build:js

build:js

cross-env NODE_ENV=production rollup -c

watch

rollup -c -w

prepack

yarn build

presize

yarn build

size

size-limit

presize:why

yarn build

size:why

size-limit --why

precise-commits

precise-commits --whitelist="src/**/*.{ts,tsx}"

deploy

./scripts/deploy
npm i @fairfx/[email protected]

Metadata

  • MIT
  • Whatever
  • FairFX
  • released 5/4/2019

Downloads