@skbkontur/react-ui

v5.0.0
UI Components

prebuild

run-s clean build:types

build:types

tsc -p ./prod.tsconfig.json --emitDeclarationOnly --diagnostics --outDir build

build:cjs

cross-env BABEL_ENV=cjs node scripts/build

build:esm

node scripts/build

build

run-p build:esm build:cjs && node scripts/build/postbuild

clean

git clean -fdxqe node_modules

prerelease

node scripts/publish/prepublish && yarn build

release

npm publish ./build --workspaces=false

postrelease

yarn deploy

predeploy

rimraf .styleguide/deploy && yarn run styleguide:build

deploy

gh-pages -a -d .styleguide/deploy -r [email protected]:skbkontur/react-ui.git

storybook

node ../../scripts/patch-node-options.js "storybook dev -p 6060"

storybook:build

node ../../scripts/patch-node-options.js "cross-env STORYBOOK_REACT_UI_TEST=true storybook build -o .storybook/build --quiet"

storybook:test

node ../../scripts/patch-node-options.js "cross-env STORYBOOK_REACT_UI_TEST=true storybook dev --ci -p 6060"

storybook:serve

serve -l 6060 .storybook/build

styleguide

node ../../scripts/patch-node-options.js "styleguidist server --config .styleguide/config/dev.config.js"

styleguide:build

node ../../scripts/patch-node-options.js "node .styleguide/build"

lint

run-p -c lint:*

lint:eslint

cross-env TIMING=1 yarn eslint ./

lint:tsc

tsc --noEmit --diagnostics

lint:prettier

prettier --check .

fix

run-s -c fix:*

fix:eslint

yarn lint:eslint --fix

fix:prettier

yarn prettier --write .

test

jest --detectOpenHandles

test:watch

yarn test --watch

creevey

wait-on -t 300000 http-get://localhost:6060/ && cross-env BABEL_ENV=cjs creevey -c .creevey/config.js

creevey:update

cross-env BABEL_ENV=cjs creevey -c .creevey/config.js --update

creevey:ui

yarn creevey --ui

report:eslint

yarn eslint -f eslint-html-reporter/reporter.js -o reports/eslint/index.html
npm i @skbkontur/react-ui

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 10/21/2024

Downloads