carbon-react

v33.0.1
A library of reusable React components for easily building user interfaces.

lint

eslint ./src

test

jest --config=./jest.conf.json

babel

cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*/__spec__.js','**/*.spec.js','**/__definition__.js' --quiet

debug

node --inspect ./node_modules/jest-cli/bin/jest --watch --config=./jest.conf.json

start

start-storybook -p 9001 -s .assets -c .storybook

watch

npm run clean-lib && npm run copy-files -- --watch & npm run babel -- --watch

commit

git-cz

lint-ts

tslint 'src/**/*.ts'

chromatic

chromatic

clean-lib

rimraf ./lib

copy-files

cpx "src/**/!(*.js|*.md|*.mdx|*.stories.*|*.snap|docgenInfo.json)" lib

cypress:ci

cypress run --record --parallel

docgenInfo

./script/generate-docgeninfo.sh

precompile

npm run clean-lib && npm run copy-files && npm run babel

test-update

jest --config=./jest.conf.json --updateSnapshot

test-cypress

cypress open

prepublishOnly

node check-version.js && npm run precompile

build-storybook

build-storybook -c .storybook -s .assets

Metadata

Downloads