carbon-react
v102.5.0lint
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','**/*.test.js' --quiet
debug
node --inspect ./node_modules/jest-cli/bin/jest --watch --config=./jest.conf.json
start
node ./scripts/check_node_version.js && 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
format
prettier --write './src'
clean-lib
rimraf ./lib
copy-files
cpy "**/" "!**/(*.js|*.md|*.mdx|*.stories.*|*.snap)" ../lib/ --cwd=src --parents
precompile
npm run clean-lib && npm run copy-files && npm run babel
postinstall
node ./scripts/check_carbon_version.js && node ./scripts/check_rfcs.js
test-update
jest --config=./jest.conf.json --updateSnapshot
start:static
npx http-server -p 9001 ./storybook-static
test:cypress
cypress open
cypress:react
npx cypress open-ct
prepublishOnly
npm run precompile
build-storybook
build-storybook -c .storybook -s .assets
generate-metadata
node ./scripts/generate_metadata/index.mjs
start:debug-theme
cross-env STORYBOOK_DEBUG_THEME=true npm run start
npm i [email protected]
Metadata
- Apache-2.0
- >=14.16.0
- The Sage Group plc
- released 1/5/2022