carbon-react
v102.11.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','**/*.spec.ts','**/*.spec.tsx','**/*.test.js','**/*.d.ts' --quiet --extensions '.js','.ts','.tsx'
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|*.ts|*.tsx|*.md|*.mdx|*.stories.*|*.snap)" ../lib/ --cwd=src --parents
precompile
npm run type-check && npm run clean-lib && npm run copy-files && npm run build:types && npm run copy-def-files && npm run babel && npm run generate-proptypes
type-check
tsc --noEmit
build:types
tsc -p tsconfig-build.json --emitDeclarationOnly
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
copy-def-files
cpy "**/(*.d.ts)" ../lib/ --cwd=src --parents
prepublishOnly
npm run precompile
build-storybook
build-storybook -c .storybook -s .assets
type-check:watch
npm run type-check -- --watch
generate-metadata
node ./scripts/generate_metadata/index.mjs
start:debug-theme
cross-env STORYBOOK_DEBUG_THEME=true npm run start
generate-proptypes
ts-node ./scripts/generate_proptypes/index.ts
npm i [email protected]
Metadata
- Apache-2.0
- >=14.16.0
- The Sage Group plc
- released 1/17/2022