carbon-react
v9.1.0lint
eslint
test
jest --config=./jest.conf.json
babel
cross-env NODE_ENV=production babel --stage 0 ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*/__spec__.js','**/*.spec.js','**/__definition__.js' --quiet
build
npm run gen-colors && npm run gen-docs && cross-env NODE_ENV=production npm run webpack && npm run prep-deploy && npm run build-storybook
debug
node --inspect ./node_modules/jest-cli/bin/jest --watch --config=./jest.conf.json
start
npm run gen-colors && npm run gen-docs && npm run webpack-dev-server
watch
npm run clean-lib && npm run copy-files -- --watch & npm run babel -- --watch
lint-ts
tslint 'src/**/*.ts'
webpack
webpack
gen-docs
node -e "require('./script/generate-docs').default();"
clean-lib
rimraf ./lib
storybook
start-storybook -p 9001 -s .assets -c .storybook
copy-files
cpx "src/**/!(*.js|*.md|*.snap)" lib
docgenInfo
./script/generate-docgeninfo.sh
gen-colors
node -e "require('./script/generate-demo-colors').default();"
precompile
npm run clean-lib && npm run copy-files && npm run babel
prep-deploy
node -e "require('./script/deploy').default();"
test-update
jest --config=./jest.conf.json --updateSnapshot
storybook-ci
start-storybook -p 9001 -c .storybook --ci
test-cypress
cypress open
prepublishOnly
node check-version.js && npm install && npm run precompile
build-storybook
build-storybook -c .storybook -s .assets -o storybook && mv storybook deploy/storybook
test-carbon-build
npm run gen-colors && npm run gen-docs && npm run webpack
test-cypress-build
cypress run --spec ./cypress/features/build/build*.feature --browser chrome
webpack-dev-server
webpack-dev-server
test-storybook-smoke
start-storybook -p 9009 -c .storybook --ci --smoke-test
test-cypress-regression
cypress run --spec './cypress/features/regression/**/*.feature', './cypress/features/themes/themes.feature' --browser chrome
test-cypress-accessibility
cypress run --spec ./cypress/features/accessibility/accessibility.feature --browser chrome
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- The Sage Group plc
- released 11/22/2019