Skip to content

design-system 1.0.0-alpha.175

Install from the command line:
Learn more about npm packages
$ npm install @securityscorecard/design-system@1.0.0-alpha.175
Install via package.json:
"@securityscorecard/design-system": "1.0.0-alpha.175"

About this version

Design System

Usage

You can install this package as:

yarn add @securityscorecard/design-system
# OR
npm install @securityscorecard/design-system

Local Development

Development in Storybook

git clone https://github.com/securityscorecard/design-system
cd design-system
yarn
yarn run storybook

Development in third-party application

To avoid version conflicts within the application we need to link reactreact-dom  and styled-components libraries from the third-party application into design-system.

cd path/to/application
cd node_modules/react && yarn link # register react
cd ../react-dom && yarn link # register react-dom
cd ../styled-components && yarn link # register styled-components

Then we need to use registered packages in design-system, register package as the link and start build script.

cd path/to/design-system
yarn link react && yarn link react-dom && yarn link styled-components # use registered package
yarn link # register design-system
yarn build --watch # start build in watch mode

At the end, we need to link design-system in a third-party application.

cd path/to/application
yarn link @securityscorecard/design-system # use design-system

Contributing

Details


Assets

  • design-system-1.0.0-alpha.175-npm.tgz

Download activity

  • Total downloads 10
  • Last 30 days 0
  • Last week 0
  • Today 0