carbon-react
v6.3.2lint
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
debug
node --inspect ./node_modules/jest/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 -c .storybook
copy-files
cpx "src/**/!(*.js|*.md|*.snap)" lib
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();"
prepublishOnly
node check-version.js && npm install && npm run precompile
webpack-dev-server
webpack-dev-server
npm i [email protected]
Metadata
- Apache-2.0
- Whatever
- The Sage Group plc
- released 3/26/2019