0.0.8 • Published 2 years ago
smart-travel-ds-test v0.0.8
Smart Travel Design System
Description
The Smart Travel Design System is a library of components and tools used to build the Smart Travel app.
Links
Installation
Execute this command to install required dependencies
npm installRun locally
Local development supports 2 modes to visualize the design system: Playground mode & Storybook mode
Playground
To run the Playground mode execute in the terminal:
npm run devStorybook
To run the Storybook mode execute in the terminal:
npm run dev:storybookBuild
The design system supports 2 build commands; one build command for the core codebase & one build command for the Storybook documentation
Core
npm run buildStorybook
npm run build:storybookUsage
To integrate you can:
Include this codebase directly in your ReactJS application
Build the core codebase with
npm run buildand publish the package to npm. After that you can install the package as a dependency and import components as needed:
import { Button } from "@your-npm-package-name";