carbon-react
v77.7.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
node ./check_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/**/*.js'
lint-ts
tslint 'src/**/*.ts'
chromatic
chromatic
clean-lib
rimraf ./lib
copy-files
cpy "**/" "!**/(*.js|*.md|*.mdx|*.stories.*|*.snap)" ../lib/ --cwd=src --parents
cypress:ci
cypress run --record --parallel
precompile
npm run clean-lib && npm run copy-files && npm run babel
postinstall
node postinstall.js
test-update
jest --config=./jest.conf.json --updateSnapshot
start:static
npx http-server -p 9001 ./storybook-static
test-cypress
cypress open
prepublishOnly
npm run precompile
build-storybook
build-storybook -c .storybook -s .assets
npm i [email protected]
Metadata
- Apache-2.0
- >=14.16.0
- The Sage Group plc
- released 7/8/2021