react-lightning-design-system
v5.2.1 react react-component salesforce lightning lightning design system slds tab form datepicker and 2 more...
lint
npm run lint:src && npm run lint:stories
test
echo "no test to run"
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
storybook
start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook
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
storycap --serverCmd "npm run storybook -- --ci" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000
build:storybook
build-storybook -o public
type-check:watch
npm run type-check -- --watch
npm i [email protected]
Metadata
- MIT
- Whatever
- Shinichi Tomita
- released 5/10/2022