terra-clinical-item-view

v1.2.1
The Item View component allows displays to be organized into rows and column and themed, while providing means to add accessory elements and a comment.
Cerner Terra Clinical terra-clinical-item-view ItemView 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

props-table

$(cd ..; npm bin)/props-table ./src/ItemView.jsx --out-dir ./docs/props-table

lint:scss

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

test

npm run test:spec && npm run test:nightwatch-default

test:spec

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

test:all

npm run test:nightwatch-default && npm run test:nightwatch-chrome && npm run test:nightwatch-firefox && npm run test:nightwatch-safari

test:nightwatch-default

SPECTRE_TEST_SUITE=terra-clinical-item-view node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js

test:nightwatch-chrome

SPECTRE_TEST_SUITE=terra-clinical-item-view node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js chrome

test:nightwatch-firefox

SPECTRE_TEST_SUITE=terra-clinical-item-view node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js firefox

test:nightwatch-safari

SPECTRE_TEST_SUITE=terra-clinical-item-view node ../../node_modules/terra-toolkit/lib/scripts/nightwatch-non-parallel.js safari

Metadata

Downloads