terra-form

v1.3.0
Components for building forms
Cerner Terra terra-form Form 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/Control.jsx ./src/Field.jsx ./src/Fieldset.jsx ./src/Input.jsx ./src/NumberField.jsx ./src/Textarea.jsx ./src/TextareaField.jsx ./src/TextField.jsx ./src/Select.jsx ./src/SelectField.jsx --out-dir ./docs/props-table

release:major

npm test && node ../../scripts/release/release.js major

release:minor

npm test && node ../../scripts/release/release.js minor

release:patch

npm test && node ../../scripts/release/release.js patch

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-form node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js

test:nightwatch-chrome

SPECTRE_TEST_SUITE=terra-form node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js chrome

test:nightwatch-firefox

SPECTRE_TEST_SUITE=terra-form node ../../node_modules/terra-toolkit/lib/scripts/nightwatch.js firefox

test:nightwatch-safari

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

Metadata

Downloads