@dhis2/ui-core
v4.0.1prebuild
rm -rf ./build/*
build
NODE_ENV=production yarn build:commonjs && NODE_ENV=production yarn build:modules
build:commonjs
BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose
build:modules
BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose
build:docs
d2-utils-docsite build ./docs -o ./build/docs --jsdoc ./src --jsdoc-output-file api.md
build:demo
build-storybook -c .storybook -o ./build/docs/demo
start
yarn start:demo
start:docs
d2-utils-docsite serve ./docs -o ./build/docs --jsdoc ./src --jsdoc-output-file api.md
start:demo
start-storybook -s ./stories/info --port 5000
start:testing
STORYBOOK_INCLUDE_TESTING=1 yarn start --port $PORT --ci
cypress:browser
cypress open --config baseUrl=http://localhost:$PORT
cypress:ci
NO_COLOR=1 cypress run -b $BROWSER --config baseUrl=http://localhost:$PORT
cypress:open
PORT=12345 concurrently --kill-others -n storybook,cypress 'yarn start:testing' 'wait-on http-get://localhost:$PORT && yarn cypress:browser'
cypress:run
PORT=12345 concurrently --kill-others --success first -n storybook,cypress 'yarn start:testing' 'wait-on http-get://localhost:$PORT && yarn cypress:ci'
lint:js
d2-style js check --all
npm i @dhis2/[email protected]
Metadata
- BSD-3-Clause
- Whatever
- Viktor Varland
- released 11/25/2019