React
, Typescript
, Jest
, Storybook
을 이용한 프론트엔드 UI 라이브러리 + 유틸 라이브러리입니다.
- node v18
- ubuntu v20
- yarn
$ yarn install
$ yarn storybook
- jest
$ yarn test
$ yarn test --ci --watch
$ yarn test --ci --coverage
- storybook
$ yarn storybook
$ yarn test-storybook --watch
$ yarn test-storybook --coverage
graph LR
classDef toBeUpdated fill:#EBEBE445, color: #C6C6C6
atom[📁atom] ----> molecular[📁molecular]
core[📁core] ----> atom & molecular & organism
utils[📁utils] ----> atom & core
atom & molecular & core ----> yni-ui[📁yni-ui]
atom & molecular ----> organism[📁organism - to be update]:::toBeUpdated
utils & atom & molecular & core ----> calendar[📁calendar]
gcb
is an abbreviation for generate component boilerplate
- first arg: package-name (ex.
core
). Use lowercase - second arg: FileName (ex.
ClickOutsideLinstener
). Use PascalCase
$ scripts/gcb.sh <package-name> <FileName>
$ scripts/gcb.sh core ClickOutsideLinstener
packages/<package-name>$ yarn ci
packages/<package-name>$ yarn deploy:only
or
packages/<package-name>$ yarn deploy