0.0.9 • Published 7 months ago

@mredwardlik/test-library v0.0.9

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

hm-ui

Welcome friend, please follow these instructions

NPM package for Halyk Market UI Components

Instructions for adding new components: 1. Add component(SFC) to /components folder.Styles must be scoped. 2. Add unit test for new component 2. In main.ts file import, export and use new component. 3. Global variables, styles must be provided in project where you install package. 4. To run project vite serve(npm run dev). To build project vite build(npm run build).

Instructions after adding changes and for testing package locally. 1. Before build delete existing dist folder. 2. Change package version in package.json file. 3. Build project npm run build 4. For testing purposes follow below: 5. Run command in terminal npm pack to create tgz file. 6. Import tgz file to project(where you want to install) / folder. 7. Run npm i ${name of npm package}.tgz.It will install local package to project. 8. Before commiting changes to this project do not forget to remove tgz file that was created. 9. Import in component like this import { HButton } from "hmarketui"

Created by @Dilyara Tulegenova

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago