terra-toolkit

v5.0.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

danger

danger ci

jest

jest --config jestConfig.js

lint

eslint --ext .js .

pack

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

prepare

npm run compile

prepublishOnly

npm whoami && check-installed-dependencies && npm test

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 --site ./build

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 scripts/wdio/wdio-runner-cli.js --suite opinionated

tt-wdio-webpack-func

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

tt-wdio-unopinionated

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

tt-wdio-no-formFactor

npm run pack && node scripts/wdio/wdio-runner-cli.js --locales=['en','fr'] --spec tests/wdio/validateElement-spec.js && rm -rf ./build

tt-wdio-static

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

Metadata

Downloads