0.1.4 • Published 5 years ago
adheretech-components v0.1.4
Adheretech Components
- An internal component library used for Adheretech React projects.
Installation Instructions and Usage
- To use components in this repository in other applications, please follow these steps:
- Install the npm package:
npm install adheretech-components
- Import the stylesheet into the top level
index.js
file:import '../node_modules/adheretech-components/dist/index.scss'
- Import any component from the library into the file of your choice:
import { Button } from 'adheretech-components'
- Install the npm package:
Available Scripts
In the project directory, you can run:
npm start
Opens up Storybook on http://localhost:9009 to view it in the browser.
npm test
Launches the test runner in the interactive watch mode. See the section about running tests for more information.
npm run build
Builds the app's dist/ folder which includes components/ and scss/ to be exposed when publishing to NPM.
npm publish
Publishes the application to NPM
npm build-storybook
Output a static Storybook in the storybook-static directory.