Skip to content

Commit 39349db

Browse files
authored
Merge pull request #5 from encryption4all/standardize-readme
docs: standardize README
2 parents a1fc7c2 + ed9e2be commit 39349db

2 files changed

Lines changed: 35 additions & 10 deletions

File tree

README.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,45 @@
1-
# pg-components
1+
# <p align="center"><img src="./img/pg_logo.svg" height="128px" alt="PostGuard" /></p>
22

3-
PostGuard UI component library.
3+
> For full documentation, visit [docs.postguard.eu](https://docs.postguard.eu/repos/pg-components).
44
5-
## Packaging
5+
Reusable Svelte UI component library for PostGuard applications, published as `@e4a/pg-components` on npm. Contains shared components like file pickers, progress indicators, and authentication dialogs used by the PostGuard website.
66

7-
package the library
7+
## Development
88

9-
```bash
9+
Start the dev server:
10+
11+
```sh
12+
yarn dev
13+
```
14+
15+
Build the package:
16+
17+
```sh
1018
yarn build
1119
```
1220

13-
## Developing
21+
Run type checking:
1422

15-
develop on a custom webpage (see `src/routes/index.svelte` )
23+
```sh
24+
yarn check
25+
```
1626

17-
```bash
18-
yarn dev
27+
Run linting:
28+
29+
```sh
30+
yarn lint
31+
```
32+
33+
Component stories (via Histoire):
34+
35+
```sh
36+
yarn story:dev
1937
```
2038

21-
see `package.json` for more commands.
39+
## Releasing
40+
41+
New versions are published manually to npm. Bump the version in `package.json`, commit, and run `yarn build && npm publish`.
42+
43+
## License
44+
45+
MIT

img/pg_logo.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)