@dhis2/ui-core
v4.3.0prebuild
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 --quiet
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
yarn lint:js && yarn lint:text
lint:js
d2-style js check
lint:text
d2-style text check
format
yarn format:js && yarn format:text
format:js
d2-style js apply
format:text
d2-style text apply
npm i @dhis2/[email protected]
Metadata
- BSD-3-Clause
- Whatever
- Viktor Varland
- released 12/16/2019