@skbkontur/react-ui

v4.22.0
UI Components

fix

run-s -c fix:*

lint

run-p -c lint:*

test

cross-env BABEL_ENV=cjs jest --detectOpenHandles

build

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

clean

git clean -fdxqe node_modules

deploy

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

creevey

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

release

npm publish ./build --workspaces=false

lint:tsc

tsc --noEmit --diagnostics

prebuild

run-s clean build:types

build:cjs

cross-env BABEL_ENV=cjs node scripts/build

build:esm

node scripts/build

predeploy

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

storybook

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

creevey:ui

yarn creevey --ui

fix:eslint

yarn lint:eslint --fix

prerelease

node scripts/publish/prepublish && yarn build

styleguide

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

test:watch

yarn test --watch

build:types

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

lint:eslint

cross-env TIMING=1 yarn eslint --ext .js,.jsx,.ts,.tsx ./

postrelease

yarn deploy

fix:prettier

yarn prettier --write .

lint:prettier

prettier --check .

report:eslint

yarn eslint -f eslint-html-reporter/reporter.js -o reports/eslint/index.html

creevey:update

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

storybook:test

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

storybook:build

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

storybook:serve

serve -l 6060 .storybook/build

styleguide:build

node ../../scripts/patch-node-options.js "node .styleguide/build"
npm i @skbkontur/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 4/9/2024

Downloads