terra-alert

v1.6.0
The Terra Alert component is a notification banner that can be rendered in your application when there is information that you want to bring to the user's attention. The Alert component supports a number of built-in notification types that render with pre
Cerner Terra terra-alert Alert UI

compile

npm run compile:clean && npm run compile:build

compile:clean

$(cd ..; npm bin)/rimraf lib

compile:build

$(cd ..; npm bin)/babel src --out-dir lib --copy-files

lint

npm run lint:js && npm run lint:scss

lint:js

$(cd ..; npm bin)/eslint --ext .js,.jsx . --ignore-path ../../.eslintignore

lint:scss

$(cd ..; npm bin)/stylelint src/**/*.scss

props-table

props-table ./src/Alert.jsx --out-dir ./docs/props-table

test

npm run test:jest && npm run test:nightwatch

test:jest

$(cd ..; npm bin)/jest --config ../../jestconfig.json

test:nightwatch

$(cd ..; npm bin)/nightwatch -c ../../nightwatch.conf.js

Metadata

Downloads