react-lightning-design-system

v4.1.2
Salesforce Lightning Design System components built with React
react react-component salesforce lightning lightning design system slds tab form datepicker and 2 more...

lint

npm run lint:src && npm run lint:stories && npm run lint:test

test

run-s test:jest test:storyshots

build

run-p build:lib build:module build:types

deploy

run-s build:storybook build:assets deploy:ghpage

format

npm run lint:src -- --fix && npm run lint:stories -- --fix && npm run lint:test -- --fix

lint:src

eslint --ext .ts,.tsx src/scripts/**

build:lib

babel -d lib/ src/ --extensions ".ts,.tsx" --source-maps true

lint:test

eslint --ext .js,.ts,.tsx test/**

storybook

start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook

test:jest

jest test/*-spec.tsx

type-check

tsc --noEmit

build:types

tsc -p tsconfig.types.json

test:visual

reg-suit -v run

build:assets

cp -r node_modules/@salesforce-ux/design-system/assets public

build:module

BUILD_TARGET=module babel -d module/ src/ --extensions ".ts,.tsx" --source-maps true

lint:stories

eslint --ext .ts,.tsx stories/**

deploy:ghpage

gh-pages -d public

pretest:visual

STORYBOOK_MODE=visual-test storycap --serverCmd "npm run storybook -- --ci" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 1000

build:storybook

build-storybook -o public

test:storyshots

NODE_ENV=test jest test/storyshots/*.test.js

type-check:watch

npm run type-check -- --watch

Metadata

  • MIT
  • Whatever
  • Shinichi Tomita
  • released 10/1/2020

Downloads

Maintainers