1.20.0 • Published 4 years ago
@noisytrumpet/osi-dls v1.20.0
OSI-LIFE DLS (Design Language System)
Design System Library for the osilife.com brand in general, it contains several React components such as Primary buttons, text fields, etc which can be imported in React, and are self-contained with styling, storybook stories, test suites, functional JSX code, etc.
Frameworks
- Node Package Manager link
- Yarn link
- StorybookJS link
- Adobe DSM integration link
- React link
- Gitlab NPM registry link
- Rollup JS link
- Jest link
- Eslint link
Local development
- Install npm package manager:
brew install node
. - Install dependencies:
yarn
. - Run storybook:
yarn storybook
.
Stories
- All stories are in individual component directories.
- The file names must be in the format:
*.stories.js
. - Here are the guidelines for writing a particular story: link.
Widgets
widgets
are created undersrc/widgets
- they need to be added to
src/widgets/index.js
to be able to export them into the/lib
folder - to import them into another application
import { WIDGET_NAME } from "@dotcom/dls"
-->
Linting
eslint
is used as a linting library.- Run lint using
yarn lint
. - Run lint and auto fix problems using
yarn lint:fix
.
Testing
jest
is used as a testing library, for running the tests, and mocking where needed.enzyme
can be used at places to shallow mount the components.- Run tests using
yarn test
. - Run tests with live reload using
yarn test:watch
.
1.20.0
4 years ago
1.19.0
4 years ago
1.18.0
4 years ago
1.17.0
4 years ago
1.15.0
4 years ago
1.14.0
4 years ago
1.16.0
4 years ago
1.13.0
4 years ago
1.12.0
4 years ago
1.11.0
4 years ago
1.10.0
4 years ago
1.9.0
4 years ago
1.8.0
4 years ago
1.7.0
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.0
4 years ago
1.0.1
4 years ago