carbon-react

v13.5.1
A library of reusable React components for easily building user interfaces.

lint

eslint ./src ./fixtures

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'

webpack

webpack

fixtures

webpack-dev-server --config fixtures/webpack.config.js

clean-lib

rimraf ./lib

copy-files

cpx "src/**/!(*.js|*.md|*.snap)" lib

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

open-allure-report

allure open allure-report

test-cypress-build

cypress run --spec ./cypress/features/build/build*.feature --browser chrome --reporter spec

clean-cypress-results

rm -r allure-results/ allure-report/

test-cypress-regression

npm run cypress-group-regression-common; npm run cypress-group-regression-experimental; npm run cypress-group-regression-deprecated; npm run cypress-group-regression-validations; npm run cypress-group-regression-themes; npm run generate-cypress-allure-report

test-cypress-accessibility

cypress run --spec ./cypress/features/accessibility/accessibility.feature --browser chrome --reporter spec

generate-cypress-allure-report

allure generate allure-results --clean -o allure-report

cypress-group-regression-common

cypress run --spec './cypress/features/regression/*.feature' --reporter mocha-allure-reporter --browser chrome

cypress-group-regression-themes

cypress run --spec './cypress/features/themes/themes.feature' --reporter mocha-allure-reporter --browser chrome

cypress-group-regression-deprecated

cypress run --spec './cypress/features/regression/deprecated/*.feature' --reporter mocha-allure-reporter --browser chrome

cypress-group-regression-validations

cypress run --spec './cypress/features/regression/validations/*.feature' --reporter mocha-allure-reporter --browser chrome

cypress-group-regression-experimental

cypress run --spec './cypress/features/regression/experimental/*.feature' --reporter mocha-allure-reporter --browser chrome

Metadata

Downloads