retail-ui

v1.11.7
UI Components

prepublishOnly

yarn clean && node scripts/publish/prepublish && yarn build

clean

git clean -fdxqe node_modules

build

yarn tsc -p prod.tsconfig.json && node scripts/build

postpublish

yarn deploy && npm run publish:react-ui

predeploy

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

deploy

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

publish:react-ui

npm publish ./build

storybook

start-storybook -p 6060

storybook:flat

cross-env STORYBOOK_FLAT_UI=true start-storybook -p 6060

storybook:build

run-s storybook:build:*

storybook:build:default

cross-env enableReactTesting=true build-storybook -o .storybook/build/default

storybook:build:flat

cross-env enableReactTesting=true STORYBOOK_FLAT_UI=true build-storybook -o .storybook/build/flat

storybook:test

run-p storybook:test:*

storybook:test:default

cross-env enableReactTesting=true start-storybook --ci -p 6060

storybook:test:flat

cross-env enableReactTesting=true STORYBOOK_FLAT_UI=true start-storybook --ci -p 6061

storybook:serve

run-p storybook:serve:*

storybook:serve:default

serve -l 6060 .storybook/build/default

storybook:serve:flat

serve -l 6061 .storybook/build/flat

styleguide

styleguidist server --config .styleguide/config/dev.config.js

styleguide:build

node .styleguide/build

lint:flow

flow check

lint

run-p -c lint:*

lint:tsc

tsc --noEmit

lint:eslint

eslint ./

lint:tslint

tslint --project tsconfig.json

lint:stylelint

stylelint "./**/*.less"

test

jest

test:watch

jest --watch

creevey

wait-on -t 300000 http-get://localhost:6060/ http-get://localhost:6061/ && creevey -c .creevey/config.ts

creevey:ui

npm run creevey -- --ui

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 11/9/2020

Downloads