@dhis2/ui-core

v4.1.0
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

prebuild

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

Downloads