terra-toolkit

v1.2.0
Utilities to help when developing terra modules.
Cerner Terra Terra Toolkit terra-toolkit UI

clean:all

npm run clean:compiled && npm run clean:dependencies

clean:compiled

rimraf ./lib

clean:dependencies

rimraf ./node_modules

clean:install

npm run clean:all && npm install && npm run compile:build

compile

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

compile:build

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

danger

danger

lint

eslint --ext .js,.jsx .

pretest

npm run lint

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:nightwatch-default

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=default WEBPACK_CONFIG_PATH=../tests/test.config node ./lib/scripts/nightwatch-process.js --config tests/nightwatch.conf.js -e default-tiny,default-small,default-medium,default-large,default-huge,default-enormous

test:nightwatch-chrome

SPECTRE_TEST_SUITE=chrome WEBPACK_CONFIG_PATH=../tests/test.config node ./lib/scripts/nightwatch-process.js --config tests/nightwatch.conf.js -e chrome-tiny,chrome-small,chrome-medium,chrome-large,chrome-huge,chrome-enormous

test:nightwatch-firefox

SPECTRE_TEST_SUITE=firefox WEBPACK_CONFIG_PATH=../tests/test.config node ./lib/scripts/nightwatch-process.js --config tests/nightwatch.conf.js -e firefox-tiny,firefox-small,firefox-medium,firefox-large,firefox-huge,firefox-enormous

test:nightwatch-safari

SPECTRE_TEST_SUITE=safari WEBPACK_CONFIG_PATH=../tests/test.config node ./lib/scripts/nightwatch-process.js --config tests/nightwatch.conf.js -e safari-tiny,safari-small,safari-medium,safari-large,safari-huge,safari-enormous

Metadata

Downloads