freemium-ui 2.0.0-beta.3 → 2.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/README.md ADDED
@@ -0,0 +1,71 @@
1
+ <h1 align="center">Freemium Ui</h1>
2
+
3
+ ## [DEMO](https://freemium-ui.netlify.app)
4
+
5
+ [React](https://reactjs.org/) based light weight ui components based on [Styled Components](https://styled-components.com/)
6
+
7
+ ## Installation
8
+
9
+ Peer Dependencies to be installed
10
+
11
+ ```
12
+ npm install styled-components
13
+ ```
14
+
15
+ Install the package
16
+
17
+ ```
18
+ npm install @freshdesk/freemium-ui
19
+ ```
20
+
21
+ Please note that `@next` will only point to pre-releases; to get the latest stable release use `@latest` instead.
22
+
23
+ ## Usage
24
+
25
+ Here is a quick example to get you started, **it's all you need**:
26
+
27
+ ```jsx
28
+ import React from 'react';
29
+ import ReactDOM from 'react-dom';
30
+ import { Button } from 'freemium-ui';
31
+
32
+ function App() {
33
+ return <Button>Freemium Button</Button>;
34
+ }
35
+
36
+ ReactDOM.render(<App />, document.querySelector('#app'));
37
+ ```
38
+
39
+ ## Contribution
40
+
41
+ Install Dependencies
42
+
43
+ ```
44
+ npm install
45
+ ```
46
+
47
+ Start the app using storybook
48
+
49
+ ```
50
+ npm run storybook
51
+ ```
52
+
53
+ Build Freemium Ui Core Components
54
+
55
+ ```
56
+ npm run build
57
+ ```
58
+
59
+ Generate a PAT with `admin:org`, `write:packages`, `read:packages`, `delete:packages`
60
+
61
+ Authenticate to npm github package
62
+
63
+ ```
64
+ npm login --registry=https://registry.npmjs.org/
65
+ ```
66
+
67
+ Publish the package to npm
68
+
69
+ ```
70
+ npm publish
71
+ ```