carbon-react
v16.8.2lint
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'
fixtures
webpack-dev-server --config fixtures/webpack.config.js
clean-lib
rimraf ./lib
copy-files
cpx "src/**/!(*.js|*.md|*.mdx|*.stories.*|*.snap|docgenInfo.json)" 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-common1; npm run cypress-group-regression-common2; npm run cypress-group-regression-experimental; npm run cypress-group-regression-validations; npm run cypress-group-regression-themes; npm run cypress-group-regression-test
test-cypress-accessibility
cypress run --spec ./cypress/features/accessibility/accessibility.feature --browser chrome --reporter spec
cypress-group-regression-test
cypress run --spec './cypress/features/regression/test/*.feature' --reporter mocha-allure-reporter --browser chrome
generate-cypress-allure-report
allure generate allure-results --clean -o allure-report
cypress-group-regression-common
cypress run --spec './cypress/features/regression/a*.feature', './cypress/features/regression/b*.feature', './cypress/features/regression/c*.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-common1
cypress run --spec './cypress/features/regression/d*.feature', './cypress/features/regression/f*.feature', './cypress/features/regression/i*.feature', './cypress/features/regression/l*.feature', './cypress/features/regression/m*.feature', './cypress/features/regression/n*.feature' --reporter mocha-allure-reporter --browser chrome
cypress-group-regression-common2
cypress run --spec './cypress/features/regression/p*.feature', './cypress/features/regression/r*.feature', './cypress/features/regression/s*.feature', './cypress/features/regression/t*.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
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- The Sage Group plc
- released 4/10/2020