terra-toolkit

v6.3.0
Utilities to help when developing terra modules.
Cerner Terra Terra Toolkit terra-toolkit UI

clean

rm package-lock.json; rm -rf node_modules

clean:install

npm run clean && npm install

clean:build

rm -rf build

compile

babel src --out-dir lib --copy-files

jest

jest --config jestConfig.js

lint

eslint --ext .js .

pack

webpack --config tests/test.config.js -p

postinstall

node ./scripts/post-install/post-install.js

postpublish

git push --follow-tags

precompile

rm -rf lib

prepare

npm run compile

pretest

npm run lint

release:major

npm version major -m 'Released version %s' && npm publish

release:minor

npm version minor -m 'Released version %s' && npm publish

release:patch

npm version patch -m 'Released version %s' && npm publish

start

./bin/serve.js --config ./tests/test.config

start-static

npm run pack && ./bin/serve-static.js

test

npm run jest && npm run wdio

wdio

npm run clean:build && npm run wdio-webpack-obj && npm run wdio-webpack-func && npm run tt-wdio-webpack-obj && npm run tt-wdio-webpack-func && npm run tt-wdio-unopinionated && npm run tt-wdio-no-formFactor && npm run tt-wdio-static

wdio-webpack-obj

wdio --suite opinionated

wdio-webpack-func

TT_TEST_WDIO_FUNCTION=true wdio --suite opinionated

tt-wdio-webpack-obj

node ./bin/wdio-runner.js wdio-runner-cli.js --suite opinionated

tt-wdio-webpack-func

TT_TEST_WDIO_FUNCTION=true node ./bin/wdio-runner.js --suite opinionated

tt-wdio-unopinionated

TT_TEST_WDIO_FUNCTION=true node ./bin/wdio-runner.js --formFactors=['tiny','huge'] --locales=['en','fr'] --suite unopinionated;

tt-wdio-no-formFactor

npm run pack && node ./bin/wdio-runner.js --suite noFormFactor && rm -rf ./build

tt-wdio-static

npm run pack; wdio --suite static; rm -rf ./build

Metadata

  • Apache-2.0
  • >=8.10.0 <12
  • Cerner Corporation
  • released 6/9/2020

Downloads